Commit e94f80e1 by linboxuan

lin pannong

parent 40b40292
......@@ -71,15 +71,15 @@ class SignService{
}
var resultSignStr = signArr.join("&") + "&key=" + app_secret;
var resultTmpSign = md5(resultSignStr).toUpperCase();
console.log("----------------resultSignStr start");
console.log(resultSignStr)
console.log("----------------resultSignStr end");
console.log("----------------resultTmpSign start");
console.log(resultTmpSign)
console.log("----------------resultTmpSign end");
console.log("----------------params.sign start");
console.log(params.sign)
console.log("----------------params.sign end");
// console.log("----------------resultSignStr start");
// console.log(resultSignStr)
// console.log("----------------resultSignStr end");
// console.log("----------------resultTmpSign start");
// console.log(resultTmpSign)
// console.log("----------------resultTmpSign end");
// console.log("----------------params.sign start");
// console.log(params.sign)
// console.log("----------------params.sign end");
if (params.sign != resultTmpSign) {
return system.getResult(null, "返回值签名验证失败");
}
......@@ -113,7 +113,7 @@ class SignService{
}
}
module.exports = SignService;
// var task = new SignService();
var task = new SignService();
// var obj = {
// "intentionBizId": "TRE-nmnHtEoTjeEtest",
......@@ -136,6 +136,22 @@ module.exports = SignService;
// "bizId":"202011031421",
// "status":"16"
// }
// task.createSign(obj,"7cbb892450174167b5c7e01we4717z51").then(d=>{
// console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!");
// });
\ No newline at end of file
var obj = {
"bizId":"202011071358",
"contactName":"lin",
"contactMobile":"13911391996",
"timeUnit":"year",
"quantity":1,
"companyInfo":{
"companyName":"公司宝",
"taxpayerType":"NORMAL_TAXPAYER",
"acctgSystemId":"10001",
"companyForm":"1",
"industry":1,
"taxpayerNumber":"123456789",
"companyArea":"北京"
}
}
task.createSign(obj,"7cbb892450174167b5c7e01we4717z51").then(d=>{
console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!");
});
\ No newline at end of file
......@@ -102,7 +102,7 @@ class utils360Sve extends AppServiceBase {
appInfo: pobj.appInfo
}
this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "submitService");
return system.getResultSuccess();
return system.getResultSuccess({orderNo:pobj.actionBody.orderNo});
}
async notifyService(pobj, actionBody,req) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment