This commit is contained in:
2021-04-02 07:25:30 +08:00
parent bf55cc7e54
commit 5a43e0d172
20 changed files with 1627 additions and 1107 deletions

View File

@@ -306,6 +306,7 @@ NetProto.cmds = {
updateUserPhone = "updateUserPhone", -- 更新用户手机号
get_customerById = "get_customerById", -- 取得客户
readNotice = "readNotice", -- 已读公告
wforder_cancel_reminder = "wforder_cancel_reminder", -- 已读到期提醒
authorizedPhone = "authorizedPhone", -- 认证手机号
preUpdatePho = "preUpdatePho", -- 绑定号码之前验证
}
@@ -759,6 +760,14 @@ NetProto.send.readNotice = function(id, callback, timeOutSec)
NetProto.sendSocket(content, callback, timeOutSec)
end
NetProto.send.wforder_cancel_reminder = function(id, callback, timeOutSec)
local content = {}
content.action = NetProto.cmds.readNotice
content.orderId = id
content.groupId = NetProto.groupId
NetProto.sendSocket(content, callback, timeOutSec)
end
NetProto.send.authorizedPhone = function(data, callback, timeOutSec)
local content = {}
content.action = NetProto.cmds.authorizedPhone
@@ -775,5 +784,7 @@ NetProto.send.preUpdatePho = function(phoneNo, callback, timeOutSec)
content.groupId = NetProto.groupId
NetProto.sendSocket(content, callback, timeOutSec)
end
------------------------------------------------------
return NetProto