mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
优化签名字段生成bug
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
7779ddb995
commit
a5cf06ee48
@ -62,7 +62,12 @@ export function createSign(_reqObj){
|
||||
reqInfo = reqInfo.substr(0,reqInfo.length-1);
|
||||
}
|
||||
}else{
|
||||
reqInfo += JSON.stringify(_reqObj.data);
|
||||
if (typeof _reqObj.data === "object") {
|
||||
reqInfo += JSON.stringify(_reqObj.data);
|
||||
} else {
|
||||
reqInfo += _reqObj.data;
|
||||
}
|
||||
//reqInfo += JSON.stringify(_reqObj.data);
|
||||
}
|
||||
reqInfo += "whoisyoudad!!!"
|
||||
let _sign = md5(reqInfo);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user