This commit is contained in:
2020-08-26 19:56:45 +08:00
parent 7ff6b2ec35
commit 3ece010fc1
208 changed files with 14753 additions and 637 deletions

View File

@@ -306,6 +306,7 @@ NetProto.cmds = {
get_customerById = "get_customerById", -- 取得客户
readNotice = "readNotice", -- 已读公告
authorizedPhone = "authorizedPhone", -- 认证手机号
preUpdatePho = "preUpdatePho", -- 绑定号码之前验证
}
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
@@ -757,5 +758,13 @@ NetProto.send.authorizedPhone = function(data, callback, timeOutSec)
content.groupId = NetProto.groupId
NetProto.sendSocket(content, callback, timeOutSec)
end
NetProto.send.preUpdatePho = function(phoneNo, callback, timeOutSec)
local content = {}
content.action = NetProto.cmds.preUpdatePho
content.phone = phoneNo
content.groupId = NetProto.groupId
NetProto.sendSocket(content, callback, timeOutSec)
end
------------------------------------------------------
return NetProto