mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】对外接口优化判断
This commit is contained in:
parent
86cc190063
commit
c0ec65d418
@ -268,7 +268,7 @@ class OutAccountServices extends BaseServices
|
||||
$param = ['push_account' => $data['push_account'], 'push_password' => $data['push_password']];
|
||||
$res = HttpService::getRequest($data['push_token_url'], $param);
|
||||
$res = $res ? json_decode($res, true) : ['status' => 400];
|
||||
if ($res['status'] != 200) {
|
||||
if (!isset($res['status']) && $res['status'] != 200) {
|
||||
throw new AdminException(100015);
|
||||
} else {
|
||||
return $res['data'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user