mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-05 19:41:43 +08:00
fixed #I2DP6X issue
This commit is contained in:
parent
5ce8c3feaa
commit
a303444eaa
@ -26,6 +26,8 @@ class BuildToken extends Base {
|
||||
$appInfo = (new AdminApp())->where(['app_id' => $param['app_id'], 'app_status' => 1])->find();
|
||||
if (empty($appInfo)) {
|
||||
return $this->buildFailed(ReturnCode::INVALID, '应用ID非法');
|
||||
} else {
|
||||
$appInfo = $appInfo->toArray();
|
||||
}
|
||||
|
||||
$signature = $param['signature'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user