up
This commit is contained in:
@@ -242,6 +242,7 @@ NetProto.cmds = {
|
||||
selectProductInfo = "selectProductInfo", -- 商品列表
|
||||
createWfInfo = "createWfInfo", -- 创建订单
|
||||
create_followUp_task = "create_followUp_task", -- 创建跟进预约
|
||||
list_followUp_records = "list_followUp_records" -- 跟进记录
|
||||
}
|
||||
---------------------------------------------------------------------------------------
|
||||
---------------------------------------------------------------------------------------
|
||||
@@ -335,7 +336,7 @@ NetProto.OnReceiveStompMsg = function(frame)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
if isDebug then
|
||||
printw(cmd, frame.Content)
|
||||
end
|
||||
@@ -462,6 +463,7 @@ NetProto.send.bi_call = function(custId, phoneNo, loginNo, callback, timeOutSec)
|
||||
content.custId = custId
|
||||
content.phoneNo = phoneNo
|
||||
content.loginNo = loginNo or NetProto.loginNo
|
||||
content.appIP = CLUIFormUtl.GetMyIP(CLUIFormUtl.ADDRESSFAM.IPv4) -- 本机的ip地址
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
@@ -530,7 +532,7 @@ end
|
||||
NetProto.send.create_followUp_record = function(followUpRecordJson, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.create_followUp_record
|
||||
followUpRecordJson.loginNo= NetProto.loginNo
|
||||
followUpRecordJson.loginNo = NetProto.loginNo
|
||||
followUpRecordJson.groupId = NetProto.groupId
|
||||
followUpRecordJson.recordingTime = DateEx.nowString()
|
||||
content.followUpRecordJson = followUpRecordJson
|
||||
@@ -574,5 +576,14 @@ NetProto.send.create_followUp_task = function(followUpTaskJson, callback, timeOu
|
||||
content.followUpTaskJson.groupId = NetProto.groupId
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
|
||||
NetProto.send.list_followUp_records = function(filters, queryKey, page, callback, timeOutSec)
|
||||
local content = {}
|
||||
content.action = NetProto.cmds.list_followUp_records
|
||||
content.filters = filters
|
||||
content.keywords = queryKey
|
||||
content.current_page = page
|
||||
NetProto.sendSocket(content, callback, timeOutSec)
|
||||
end
|
||||
------------------------------------------------------
|
||||
return NetProto
|
||||
|
||||
Reference in New Issue
Block a user