Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #11
0
 def wxActSendHBToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActSendHBToUser(mo, rpath)
     return mo
Example #12
0
 def verifyEmail(cls, rpath):
     return AccountUniversal.verifyEmail(rpath)
Example #13
0
 def checkSmsBindCodeExternal(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckSmsVerifyCodeExternal(mo, rpath)
     return mo
Example #14
0
 def sendSmsVerifyCodeExternal(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doSendSmsVerifyCodeExternal(mo, rpath)
     return mo
Example #15
0
 def bindByExternId(cls, rpath):
     return AccountUniversal.bindByExternId(rpath)
Example #16
0
 def getUserByExternId(cls, rpath):
     return AccountUniversal.getUserByExternId(rpath)
Example #17
0
 def unbindUserExternId(cls, rpath):
     return AccountUniversal.unbindUserExternId(rpath)
Example #18
0
 def checkBindStateByMobile(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doCheckBindStateByMobile(mo, rpath)
     return mo
Example #19
0
 def loginByTokenExternal(cls, rpath):
     mo = AccountUniversal.doLoginByTokenExternal(rpath)
     return mo
Example #20
0
 def getWxShareConfig(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.getWxShareConfig(rpath, mo)
     return mo
Example #21
0
 def sendEmailToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doSendEmailToUser(mo, rpath)
     return mo
Example #22
0
 def wxActBindByOpenId(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActBindByOpenId(mo, rpath)
     return mo
Example #23
0
 def doChangeUserName(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doChangeUserName(mo, rpath)
     return mo
Example #24
0
 def wxActCheckBindState(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doWxActCheckBindState(mo, rpath)
     return mo
Example #25
0
 def queryChargeStatus(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.doQuery1ShangStatus(mo, rpath)
     return mo
Example #26
0
 def sendAwardToUser(cls, rpath):
     mo = TyContext.Cls_MsgPack()
     AccountUniversal.sendAwardToUser(mo, rpath)
     return mo