Commit 90e465e1 by Sxy

followingUp

parent a12577fc
......@@ -15,7 +15,7 @@ class AliHandler {
* @param {*} datajson
*/
//新商机处理
async addChance (datajson) {
async addChance(datajson) {
console.log("put in queue [addChance]", datajson);
try {
var cachestr = sha235(JSON.stringify(datajson));
......@@ -70,7 +70,7 @@ class AliHandler {
}
}
async updateChanceStatus (datajson) {
async updateChanceStatus(datajson) {
console.log("put in queue [updateChanceStatus]" + JSON.stringify(datajson) + "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
try {
var cachestr = sha235(JSON.stringify(datajson));
......@@ -100,6 +100,12 @@ class AliHandler {
"currentStatus": "isClosed"
}
break
case "followingUp":
stau = {
"businessMode": actionBody.intentionBizId,
"currentStatus": "followingUp"
}
break
default:
return system.getResultError("status 状态值错误");
}
......@@ -114,7 +120,7 @@ class AliHandler {
//退回商机处理
async needClose (datajson) {
async needClose(datajson) {
console.log("put in queue" + JSON.stringify(datajson) + "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
try {
var cachestr = sha235(JSON.stringify(datajson));
......@@ -193,7 +199,7 @@ class AliHandler {
}
//交付单处理
async pushOrderDelivery (datajson, channelobj) {
async pushOrderDelivery(datajson, channelobj) {
console.log("put in queue-----------------------------------------------------------------------------------------------------", datajson);
try {
console.log("交付单数据:" + JSON.stringify(datajson));
......@@ -298,7 +304,7 @@ class AliHandler {
}
//客户状态处理
async deliveryNotify (datajson) {
async deliveryNotify(datajson) {
try {
var cachestr = sha235(JSON.stringify(datajson));
var cacheInfo = await this.cacheManager["AliCache"].getCache(cachestr);
......@@ -384,7 +390,7 @@ class AliHandler {
}
}
async actionBodyHandler (actionBody) {
async actionBodyHandler(actionBody) {
let data = actionBody;
let obj = {};
obj.baseInfo = {};
......
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