Files
EasySoft-ZenTaoPMS/test/api/users/delete.php
2021-10-19 15:46:57 +08:00

19 lines
350 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!use/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
/**
title=删除用户;
cid=1
pid=1
删除用户 >> message:success
*/
global $token;
$result = $rest->delete('/users/10', array('token' => $token->token));
r($result) && c(200) && p() && e("message:success") ; //删除ID为10的用户判断返回信息