Commit e94f80e1 by linboxuan

lin pannong

parent 40b40292
...@@ -71,15 +71,15 @@ class SignService{ ...@@ -71,15 +71,15 @@ class SignService{
} }
var resultSignStr = signArr.join("&") + "&key=" + app_secret; var resultSignStr = signArr.join("&") + "&key=" + app_secret;
var resultTmpSign = md5(resultSignStr).toUpperCase(); var resultTmpSign = md5(resultSignStr).toUpperCase();
console.log("----------------resultSignStr start"); // console.log("----------------resultSignStr start");
console.log(resultSignStr) // console.log(resultSignStr)
console.log("----------------resultSignStr end"); // console.log("----------------resultSignStr end");
console.log("----------------resultTmpSign start"); // console.log("----------------resultTmpSign start");
console.log(resultTmpSign) // console.log(resultTmpSign)
console.log("----------------resultTmpSign end"); // console.log("----------------resultTmpSign end");
console.log("----------------params.sign start"); // console.log("----------------params.sign start");
console.log(params.sign) // console.log(params.sign)
console.log("----------------params.sign end"); // console.log("----------------params.sign end");
if (params.sign != resultTmpSign) { if (params.sign != resultTmpSign) {
return system.getResult(null, "返回值签名验证失败"); return system.getResult(null, "返回值签名验证失败");
} }
...@@ -113,7 +113,7 @@ class SignService{ ...@@ -113,7 +113,7 @@ class SignService{
} }
} }
module.exports = SignService; module.exports = SignService;
// var task = new SignService(); var task = new SignService();
// var obj = { // var obj = {
// "intentionBizId": "TRE-nmnHtEoTjeEtest", // "intentionBizId": "TRE-nmnHtEoTjeEtest",
...@@ -136,6 +136,22 @@ module.exports = SignService; ...@@ -136,6 +136,22 @@ module.exports = SignService;
// "bizId":"202011031421", // "bizId":"202011031421",
// "status":"16" // "status":"16"
// } // }
// task.createSign(obj,"7cbb892450174167b5c7e01we4717z51").then(d=>{ var obj = {
// console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!"); "bizId":"202011071358",
// }); "contactName":"lin",
\ No newline at end of file "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 { ...@@ -102,7 +102,7 @@ class utils360Sve extends AppServiceBase {
appInfo: pobj.appInfo appInfo: pobj.appInfo
} }
this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "submitService"); this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "submitService");
return system.getResultSuccess(); return system.getResultSuccess({orderNo:pobj.actionBody.orderNo});
} }
async notifyService(pobj, actionBody,req) { 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