【类 型】:
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
50778d1b69
commit
762e18b6c6
@ -17,9 +17,6 @@ class LoginController extends Controller
|
||||
{
|
||||
header("Access-Control-Allow-Origin: " . C('LimitApi')); //请求域名限制
|
||||
header('Access-Control-Allow-Headers:Token'); //token请求头
|
||||
//账号不存在或已注销
|
||||
echo json_encode(array('status' => 0, 'msg' => "登陆失败"), JSON_UNESCAPED_UNICODE);
|
||||
exit;
|
||||
|
||||
if (!$_POST['username']) {
|
||||
echo json_encode(array('status' => 0, 'msg' => '用户名不能为空'), JSON_UNESCAPED_UNICODE);
|
||||
|
BIN
app-debug.apk
Normal file
BIN
app-debug.apk
Normal file
Binary file not shown.
0
nginx.htaccess
Normal file
0
nginx.htaccess
Normal file
Loading…
Reference in New Issue
Block a user