Commit e2599968 by 蒋勇

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

parents f4adb8a1 5e4dc718
...@@ -14,12 +14,13 @@ class TxHandler { ...@@ -14,12 +14,13 @@ class TxHandler {
console.log("put in queue",datajson); console.log("put in queue",datajson);
try{ try{
//获取分配的业务员信息 //获取分配的业务员信息
var salesmanInfo = await this.userService.getBizUserForBizChance(datajson.actionBody.ContactsMoblie, datajson.actionBody.ServicerName, datajson.actionBody.ConsultTypeName,datajson.actionBody.RegionName); var ConsultTypeName = datajson.actionBody.ConsultTypeName.split("/")[2];
var salesmanInfo = await this.userService.getBizUserForBizChance(datajson.actionBody.ContactsMoblie, datajson.actionBody.ServicerName, ConsultTypeName,datajson.actionBody.RegionName);
console.log("salesman " + salesmanInfo); console.log("salesman " + salesmanInfo);
var rc = system.getObject("util.execClient"); var rc = system.getObject("util.execClient");
var requrl = this.icUrl + "/bizoptCtl/insertInfo"; var requrl = this.icUrl + "/bizoptCtl/insertInfo";
var params = { var params = {
"businessMode": datajson.actionBody.needNum, "businessMode": datajson.actionBody.NeedNum,
"servicerCode":datajson.actionBody.ServicerCode, "servicerCode":datajson.actionBody.ServicerCode,
"servicerName":datajson.actionBody.ServicerName, "servicerName":datajson.actionBody.ServicerName,
"serviceCode":datajson.actionBody.RegionId, "serviceCode":datajson.actionBody.RegionId,
...@@ -246,4 +247,13 @@ class TxHandler { ...@@ -246,4 +247,13 @@ class TxHandler {
} }
} }
module.exports = new TxHandler(); module.exports = new TxHandler();
var task = new TxHandler();
var ConsultTypeName = "/工商服务/公司注册/".split("/")[2];
console.log(ConsultTypeName);
var d = task.userService.getBizUserForBizChance('18738988150','公司宝',ConsultTypeName,'北京');
console.log("ddddddddddddd");
console.log(JSON.stringify(d));
console.log("dddddddddddddd");
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