提交
Showing
1 changed file
with
9 additions
and
4 deletions
... | @@ -174,13 +174,18 @@ class BaseController extends Controller | ... | @@ -174,13 +174,18 @@ class BaseController extends Controller |
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | //针对外显-特殊处理 | ||
178 | if (strpos($params, 'brandShowName[]') !== false) { | ||
179 | $params = str_replace('brandShowName[]', 'brandShowName{}', $params); | ||
180 | } | ||
181 | |||
177 | file_put_contents('1.log', $params."\r\n\r\n", FILE_APPEND); | 182 | file_put_contents('1.log', $params."\r\n\r\n", FILE_APPEND); |
178 | 183 | ||
179 | Log::channel('api')->info(__METHOD__.':签名参数', [ | 184 | Log::channel('api')->info(__METHOD__.':签名参数', [ |
180 | 'common_params'=>$common_params, | 185 | 'common_params' => $common_params, |
181 | 'appSecret'=>$this->appSecret, | 186 | 'appSecret' => $this->appSecret, |
182 | 'params'=>$params, | 187 | 'params' => $params, |
183 | 'sign'=>strtoupper(md5($this->appSecret . $params . $this->appSecret)), | 188 | 'sign' => strtoupper(md5($this->appSecret . $params . $this->appSecret)), |
184 | ]); | 189 | ]); |
185 | 190 | ||
186 | return strtoupper(md5($this->appSecret . $params . $this->appSecret)); | 191 | return strtoupper(md5($this->appSecret . $params . $this->appSecret)); | ... | ... |
-
Please register or sign in to post a comment