Exemplo n.º 1
0
 def doLoginByMobile(cls, rpath):
     isReturn, params = AccountCheck.login_check(rpath, 2)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountLogin.doLoginByMobile(params, mo)
     return mo
Exemplo n.º 2
0
 def doCreateAccount(cls, rpath):
     isReturn, params = AccountCheck.login_check(rpath, 7)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountLogin.doCreateAccount(params, mo)
     return mo
Exemplo n.º 3
0
 def doRenewAuthorCodeByTyId(cls, rpath):
     isReturn, params = AccountCheck.login_check(rpath, 3)
     if isReturn:
         return params
     mo = TyContext.Cls_MsgPack()
     AccountLogin.doRenewAuthorCodeByTyId(params, mo)
     return mo
Exemplo n.º 4
0
    def doLoginBySnsID(cls, rpath):
        isReturn, params = AccountCheck.login_check(rpath, 5)
        if isReturn:
            return params

        AccountCheck.set_user_check(rpath, params)
        mo = TyContext.Cls_MsgPack()
        AccountLogin.doProcessSnsID(params, mo)
        return mo