예제 #1
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
예제 #2
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
예제 #3
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
예제 #4
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
예제 #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
예제 #6
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
예제 #7
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
예제 #8
0
 def checkOnline(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     ReportUniversal.checkOnline(params, mo)
     return mo
예제 #9
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
예제 #10
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
예제 #11
0
파일: httppayv4.py 프로젝트: lordsky/hall0
 def doConsume(cls, rpath):
     isReturn, params = AccountCheck.check_userv4(rpath)
     if isReturn:
         mo = TyContext.Cls_MsgPack()
         mo.setResult('code', 1)
         mo.setResult('info', "参数校验失败")
         return mo
     params = TyContext.RunHttp.convertToMsgPack()
     mo = ChargeUniversal.consume(params)
     return mo