fixed 复杂认证AccessToken生成异常

This commit is contained in:
zhaoxiang 2019-10-18 16:15:04 +08:00
parent a36f27020a
commit 16848888fe

View File

@ -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);