def getJsonPaths(cls): if not cls.JSONPATHS: cls.JSONPATHS = { '/open/h5v3/user/createAccount': cls.doCreateAccount, '/open/h5v3/user/loginByDevId': cls.doLoginByDevId, '/open/h5v3/user/loginByMobile': cls.doLoginByMobile, '/open/h5v3/user/loginByTyID': cls.doLoginByTyID, '/open/h5v3/user/loginByMail': cls.doLoginByMail, '/open/h5v3/user/loginBySnsID': cls.doLoginBySnsID, '/open/h5v3/user/loginByAccount': cls.doLoginByAccount, '/open/h5v3/user/processSnsId': cls.doProcessSnsID, '/open/h5v3/user/getSmsBindCode': cls.doGetSmsBindCode, '/open/h5v3/user/checkSmsBind': cls.doCheckSmsBind, '/open/h5v3/user/getSmsVerifyCode': cls.doGetSmsVerifyCode, '/open/h5v3/user/bindMobileByVerifyCode': cls.doBindMobileByVerifyCode, '/open/h5v3/user/bindBySnsId': cls.doBindBySnsId, '/open/h5v3/user/bindByEmail': cls.doBindByEmail, '/open/h5v3/user/renewAuthorCodeByTyId': cls.doRenewAuthorCodeByTyId, '/open/h5v3/user/getUserInfo': cls.doGetUserInfo, '/open/h5v3/user/setUserInfo': cls.doSetUserInfo, '/open/h5v3/user/setPasswd': cls.doSetPasswd, '/open/h5v3/user/setPasswdByVerifyCode': cls.doSetPasswdByVerifyCode, '/open/h5v3/user/setUserAvatar': cls.doSetUserAvatar, '/open/h5v3/user/reportContacts': cls.doReportContacts, '/open/h5v3/user/queryForbidden': cls.doQueryForbidden, '/open/h5v3/user/setForbidden': cls.doSetForbidden, '/open/h5v3/user/youkuLoginCallback': cls.doYoukuLoginCallback, '/open/h5v3/customtable/notify': cls.doCustomTableNotify } AccountCheck.__init_checker__() return cls.JSONPATHS
def getHtmlPaths(cls): if not cls.HTMLPATHS: cls.HTMLPATHS = { # '/open/h5vc/user/smsCallback': cls.doManDaoSmsBindCallBack, # '/open/h5vc/user/smsCallback/baifen': cls.doBaiFenSmsBindCallBack, # for ty/360 http api # '/open/h5v3/user/gettyid' : TuYouSLL.get_tyid, '/open/h5v3/user/gid2qid': TuYouSLL.gid2qid, '/open/h5v3/user/revokeqid': TuYouSLL.revoke_qid, # for pc qipai (360 kaiping) '/open/h5v3/user/kaiping/login': TuYouSLL.kp_login, '/open/h5v3/user/kaiping/code': TuYouSLL.kp_code, '/open/h5v3/user/kaiping/checkuser': TuYouSLL.kp_checkuser, '/open/h5v3/user/kaiping/exchange': TuYouSLL.kp_exchange, } AccountCheck.__init_checker__() return cls.HTMLPATHS