This commit is contained in:
2020-08-18 17:24:02 +08:00
parent 9b3c793dda
commit 7ff6b2ec35
85 changed files with 6609 additions and 101 deletions

View File

@@ -304,7 +304,8 @@ NetProto.cmds = {
updateUserInfo = "updateUserInfo", -- 更新用户信息
updateUserPhone = "updateUserPhone", -- 更新用户手机号
get_customerById = "get_customerById", -- 取得客户
readNotice = "readNotice" -- 已读公告
readNotice = "readNotice", -- 已读公告
authorizedPhone = "authorizedPhone", -- 认证手机号
}
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
@@ -748,5 +749,13 @@ NetProto.send.readNotice = function(id, callback, timeOutSec)
NetProto.sendSocket(content, callback, timeOutSec)
end
NetProto.send.authorizedPhone = function(data, callback, timeOutSec)
local content = {}
content.action = NetProto.cmds.authorizedPhone
content.phone = data.phone
content.msgcode = data.msgcode
content.groupId = NetProto.groupId
NetProto.sendSocket(content, callback, timeOutSec)
end
------------------------------------------------------
return NetProto