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
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
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
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