This commit is contained in:
2020-07-10 22:33:30 +08:00
parent d7901e444d
commit 3a281cacf4
96 changed files with 3496 additions and 939 deletions

View File

@@ -239,7 +239,8 @@ NetProto.cmds = {
order_report = "order_report", -- 客户类型分布
target_report = "target_report", -- 客户类型分布
update_customer = "update_customer", -- 更新客户信息
save_customer = "save_customer" -- 新建客户
save_customer = "save_customer", -- 新建客户
create_followUp_record = "create_followUp_record", -- 新建跟进
}
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
@@ -520,5 +521,14 @@ NetProto.send.save_customer = function(customer, callback, timeOutSec)
content.customer = customer
NetProto.sendSocket(content, callback, timeOutSec)
end
NetProto.send.create_followUp_record = function(followUpRecordJson, callback, timeOutSec)
local content = {}
content.action = NetProto.cmds.create_followUp_record
followUpRecordJson.loginNo= NetProto.loginNo
followUpRecordJson.groupId = NetProto.groupId
followUpRecordJson.recordingTime = DateEx.nowString()
content.followUpRecordJson = followUpRecordJson
NetProto.sendSocket(content, callback, timeOutSec)
end
------------------------------------------------------
return NetProto