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{ ...@@ -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,22 +136,22 @@ module.exports = SignService; ...@@ -136,22 +136,22 @@ module.exports = SignService;
// "bizId":"202011031421", // "bizId":"202011031421",
// "status":"16" // "status":"16"
// } // }
// var obj = { var obj = {
// "bizId":"OD2020110972779131", "bizId":"OD2020110629779500",
// "contactMobile":"18516081903", "contactMobile":"18550295628",
// "contactName":"符小龙", "contactName":"范锋华",
// "timeUnit":"year", "timeUnit":"year",
// "quantity":1, "quantity":1,
// "companyInfo":{ "companyInfo":{
// "companyName":"公司宝", "companyName":"苏州磐荣信息科技有限公司",
// "taxpayerType":"NORMAL_TAXPAYER", "taxpayerType":"NORMAL_TAXPAYER",
// "acctgSystemId":"10001", "acctgSystemId":"10001",
// "companyForm":"1", "companyForm":"1",
// "industry":1, "industry":1,
// "taxpayerNumber":"123456789", "taxpayerNumber":"123456789",
// "companyArea":"北京" "companyArea":"北京"
// } }
// } }
// task.createSign(obj,"7cbb892450174167b5c7e01we4717z51").then(d=>{ task.createSign(obj,"7cbb892450174167b5c7e01we4717z51").then(d=>{
// console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!"); console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!");
// }); });
\ No newline at end of file \ No newline at end of file
...@@ -188,7 +188,7 @@ class utils360Sve extends AppServiceBase { ...@@ -188,7 +188,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "", clientIp: req.client_ip || "",
optitle: "服务单处理反馈接收接口" optitle: "服务单处理反馈接收接口"
}); });
return result; return system.getResultSuccess(result);
case "accountingInfo": case "accountingInfo":
var url = settings.pannongUrl() + "pas-api/gsb/service/accountingInfo"; var url = settings.pannongUrl() + "pas-api/gsb/service/accountingInfo";
var result = await this.restPostUrl(obj, url); var result = await this.restPostUrl(obj, url);
...@@ -198,7 +198,7 @@ class utils360Sve extends AppServiceBase { ...@@ -198,7 +198,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "", clientIp: req.client_ip || "",
optitle: "回传会计信息" optitle: "回传会计信息"
}); });
return result; return system.getResultSuccess(result);
case "booksInfo": case "booksInfo":
var url = settings.pannongUrl() + "pas-api/gsb/service/booksInfo"; var url = settings.pannongUrl() + "pas-api/gsb/service/booksInfo";
var result = await this.restPostUrl(obj, url); var result = await this.restPostUrl(obj, url);
...@@ -208,7 +208,7 @@ class utils360Sve extends AppServiceBase { ...@@ -208,7 +208,7 @@ class utils360Sve extends AppServiceBase {
clientIp: req.client_ip || "", clientIp: req.client_ip || "",
optitle: "帐套信息接受接口" optitle: "帐套信息接受接口"
}); });
return result; return system.getResultSuccess(result);
default: default:
return system.getResult(null, "actionType参数错误"); 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