Esempio n. 1
0
 def createGuest(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.createGuest(params, mo)
     return mo
Esempio n. 2
0
 def getGuestBindCode(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.getSmsBindCode(params, mo)
     return mo
Esempio n. 3
0
 def changePassword(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.changePassword(params, mo)
     return mo
Esempio n. 4
0
 def bindByTyID(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.bindByTyId(params, mo)
     return mo
Esempio n. 5
0
 def checkSmsVerifyCode(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckSmsVerifyCode(params, mo)
     return mo
Esempio n. 6
0
 def listUser(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.listUser(params, mo)
     return mo
Esempio n. 7
0
 def loginByToken(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doLoginByToken(params, mo)
     mo = AccountUniversal.doCheckLoginStrategy(mo)
     return mo
Esempio n. 8
0
 def sendSms2User(cls, rpath):
     params = TyContext.RunHttp.convertArgsToDict()
     userId = int(params.get('userId', 0))
     mobile = params.get('mobile')
     content = params.get('content')
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.sendSms2user(userId, mobile, content, mo)
     return mo
Esempio n. 9
0
 def getGameLoginType(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     # if isReturn :
     #    return params
     params = TyContext.RunHttp.convertArgsToDict()
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.getGameLoginType(mo, params)
     return mo
Esempio n. 10
0
 def checkSmsBindCode(cls, rpath):
     userId = TyContext.RunHttp.getRequestParamInt('userId', 0)
     if userId > 0:
         isReturn, params = AccountCheck.check_userv4(rpath)
         if isReturn:
             return params
     else:
         isReturn, params = AccountCheck.check_userv4(rpath)
         if isReturn:
             return params
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckSmsBindInfo(params, mo)
     return mo
Esempio n. 11
0
 def wxActSendHBToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActSendHBToUser(mo, rpath)
     return mo
Esempio n. 12
0
 def verifyEmail(cls, rpath):
     return AccountUniversal.verifyEmail(rpath)
Esempio n. 13
0
 def checkSmsBindCodeExternal(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckSmsVerifyCodeExternal(mo, rpath)
     return mo
Esempio n. 14
0
 def sendSmsVerifyCodeExternal(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doSendSmsVerifyCodeExternal(mo, rpath)
     return mo
Esempio n. 15
0
 def bindByExternId(cls, rpath):
     return AccountUniversal.bindByExternId(rpath)
Esempio n. 16
0
 def getUserByExternId(cls, rpath):
     return AccountUniversal.getUserByExternId(rpath)
Esempio n. 17
0
 def unbindUserExternId(cls, rpath):
     return AccountUniversal.unbindUserExternId(rpath)
Esempio n. 18
0
 def checkBindStateByMobile(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckBindStateByMobile(mo, rpath)
     return mo
Esempio n. 19
0
 def loginByTokenExternal(cls, rpath):
     mo = AccountUniversal.doLoginByTokenExternal(rpath)
     return mo
Esempio n. 20
0
 def getWxShareConfig(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.getWxShareConfig(rpath, mo)
     return mo
Esempio n. 21
0
 def sendEmailToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doSendEmailToUser(mo, rpath)
     return mo
Esempio n. 22
0
 def wxActBindByOpenId(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActBindByOpenId(mo, rpath)
     return mo
Esempio n. 23
0
 def doChangeUserName(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doChangeUserName(mo, rpath)
     return mo
Esempio n. 24
0
 def wxActCheckBindState(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActCheckBindState(mo, rpath)
     return mo
Esempio n. 25
0
 def queryChargeStatus(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doQuery1ShangStatus(mo, rpath)
     return mo
Esempio n. 26
0
 def sendAwardToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.sendAwardToUser(mo, rpath)
     return mo