|
|
@@ -25,7 +25,10 @@ class CheckSign
|
|
|
$param_sign = $request->header('sign', '');
|
|
|
$nonce = $request->header('nonce', '');
|
|
|
$timestamp = $request->header('timestamp', '');
|
|
|
- if (!$token) Utils::throwError(ErrorConst::NOT_LOGIN);
|
|
|
+ if (!$token) {
|
|
|
+ $token = getProp($params, 'd_token');
|
|
|
+ if (!$token) Utils::throwError(ErrorConst::NOT_LOGIN);
|
|
|
+ }
|
|
|
|
|
|
$referer_url = $request->input('_url', '');
|
|
|
// 先验签(非本地模式需要验签)
|