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