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