add
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user