mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
fixed 复杂认证AccessToken生成异常
This commit is contained in:
parent
a36f27020a
commit
16848888fe
@ -65,6 +65,7 @@ class BuildToken extends Base {
|
||||
if (empty($data)) {
|
||||
return '';
|
||||
} else {
|
||||
unset($data['APP_CONF_DETAIL'], $data['API_CONF_DETAIL']);
|
||||
$preArr = array_merge($data, ['app_secret' => $appSecret]);
|
||||
ksort($preArr);
|
||||
$preStr = http_build_query($preArr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user