fixed #I2DP6X issue

This commit is contained in:
zhaoxiang 2021-02-24 16:38:28 +08:00
parent 5ce8c3feaa
commit a303444eaa

View File

@ -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'];