接口请求生成签名时不对参数url code review by shixiang
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -190,7 +190,7 @@ export default class Request { | @@ -190,7 +190,7 @@ export default class Request { | ||
190 | 190 | ||
191 | allParams = trimObject(allParams); // 去除首尾空格 | 191 | allParams = trimObject(allParams); // 去除首尾空格 |
192 | 192 | ||
193 | - let paramsPair = queryString.stringify(allParams) | 193 | + let paramsPair = queryString.stringify(allParams, {encode: false}); |
194 | let client_secret = md5(paramsPair); | 194 | let client_secret = md5(paramsPair); |
195 | 195 | ||
196 | delete allParams.private_key; | 196 | delete allParams.private_key; |
-
Please register or login to post a comment