Commit 0ea07057 by 宋毅

Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel

parents 7639c035 c433b93d
......@@ -113,7 +113,7 @@ class SignService{
}
}
module.exports = SignService;
// var task = new SignService();
var task = new SignService();
// var obj = {
// "intentionBizId": "TRE-nmnHtEoTjeEtest",
......@@ -136,22 +136,22 @@ module.exports = SignService;
// "bizId":"202011031421",
// "status":"16"
// }
// var obj = {
// "bizId":"OD2020110972779131",
// "contactMobile":"18516081903",
// "contactName":"符小龙",
// "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
var obj = {
"bizId":"OD2020110629779500",
"contactMobile":"18550295628",
"contactName":"范锋华",
"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
......@@ -188,7 +188,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "",
optitle: "服务单处理反馈接收接口"
});
return result;
return system.getResultSuccess(result);
case "accountingInfo":
var url = settings.pannongUrl() + "pas-api/gsb/service/accountingInfo";
var result = await this.restPostUrl(obj, url);
......@@ -198,7 +198,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "",
optitle: "回传会计信息"
});
return result;
return system.getResultSuccess(result);
case "booksInfo":
var url = settings.pannongUrl() + "pas-api/gsb/service/booksInfo";
var result = await this.restPostUrl(obj, url);
......@@ -208,7 +208,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "",
optitle: "帐套信息接受接口"
});
return result;
return system.getResultSuccess(result);
default:
return system.getResult(null, "actionType参数错误");
}
......
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