Esempio n. 1
0
    def getJsonPaths(cls):
        if not cls.JSONPATHS:
            cls.JSONPATHS = {
                '/open/v3/sns/addContactFriendInvite':
                cls.addContactFriendInvite,
                '/open/v3/sns/getNeighborsForInvite':
                cls.getNeighborsForInvite,
                '/open/v3/sns/getContactsForInvite': cls.getContactsForInvite,
                '/open/v3/sns/getFriends': cls.getFriends,
                '/open/v3/sns/getFriendsAndRequests':
                cls.getFriendsAndRequests,
                '/open/v3/sns/delFriend': cls.delFriend,
                '/open/v3/sns/confirmFriendRequest': cls.confirmFriendRequest,
                '/open/v3/sns/getFriendRequestList': cls.getFriendRequests,
                '/open/v3/sns/readyInviteFriend': cls.readyInviteFriend,
                '/open/v3/sns/addFriend': cls.addFriendRequest,
                '/open/v3/sns/getFriendGuide': cls.getFriendGuide,
                '/open/v3/sns/getFriendTipInfo': cls.getFriendTipInfo,

                # '/open/v3/sns/agreeFriendRequest': cls.confirmFriendRequest,
                # '/open/v3/sns/disagreeFriendRequest': cls.confirmFriendRequest,
                '/open/v3/sns/sendGift': cls.sendGift,
                '/open/v3/sns/mergeSnsFriends': cls.mergeSnsFriends,
                '/open/v3/sns/setScore': cls.setScore,
                '/open/v3/sns/getFriendsRank': cls.getFriendsRank,
                '/open/v3/sns/blockFriendRequest': cls.blockFriendRequest,
                '/open/v3/sns/getRecommendList': cls.getRecommendList,
                '/open/v3/sns/praiseFriend': cls.praiseFriend,
                '/open/v3/sns/searchUser': cls.searchUser,
                '/open/v3/sns/cross/getAppList': cls.getAppList,
                '/open/v3/sns/cross/downapp': cls.downapp,
                # '/open/v3/cross/reward': cls.crossReward,
            }
            AccountCheck.__init_checker__()
        return cls.JSONPATHS
Esempio n. 2
0
 def getHtmlPaths(cls):
     if not cls.HTMLPATHS:
         cls.HTMLPATHS = {
             # '/open/vc/user/smsCallback': cls.doSmsBindCallBack,
         }
         AccountCheck.__init_checker__()
     return cls.HTMLPATHS
Esempio n. 3
0
 def getJsonPaths(cls):
     if not cls.JSONPATHS:
         cls.JSONPATHS = {
             '/open/v3/friend/addContactFriendInvite':
             cls.addContactFriendInvite,
             '/open/v3/friend/getNeighborsForInvite':
             cls.getNeighborsForInvite,
             '/open/v3/friend/getContactsForInvite':
             cls.getContactsForInvite,
             '/open/v3/friend/getFriends': cls.getFriends,
             '/open/v3/friend/delFriend': cls.delFriend,
             '/open/v3/friend/confirmFriendRequest':
             cls.confirmFriendRequest,
             '/open/v3/friend/getFriendRequestList': cls.getFriendRequests,
             '/open/v3/friend/addFriend': cls.addFriendRequest,
             '/open/v3/friend/sendGift': cls.sendGift,
             '/open/v3/friend/mergeSnsFriends': cls.mergeSnsFriends,
             '/open/v3/user/setScore': cls.setScore,
             '/open/v3/user/getRank': cls.getRankList,
             '/open/v3/cross/getAppList': cls.getAppList,
             '/open/v3/cross/downapp': cls.downapp,
             # '/open/v3/cross/reward': cls.crossReward,
         }
         AccountCheck.__init_checker__()
     return cls.JSONPATHS
Esempio n. 4
0
 def getHtmlPaths(cls):
     if not cls.HTMLPATHS:
         cls.HTMLPATHS = {
             '/open/v4/user/verifyEmail': cls.verifyEmail,
         }
         AccountCheck.__init_checker__()
     return cls.HTMLPATHS
Esempio n. 5
0
 def getJsonPaths(cls):
     if not cls.JSONPATHS:
         cls.JSONPATHS = {
             '/open/v3/push/submitPushToken': cls.submitPushToken,
         }
         AccountCheck.__init_checker__()
     return cls.JSONPATHS
Esempio n. 6
0
    def getJsonPaths(cls):
        if not cls.JSONPATHS:
            cls.JSONPATHS = {
                '/open/v3/user/createAccount': cls.doCreateAccount,
                '/open/v3/user/loginByDevId': cls.doLoginByDevId,
                '/open/v3/user/loginByMobile': cls.doLoginByMobile,
                '/open/v3/user/loginByTyID': cls.doLoginByTyID,
                '/open/v3/user/loginByMail': cls.doLoginByMail,
                '/open/v3/user/loginBySnsID': cls.doLoginBySnsID,
                '/open/v3/user/loginByAccount': cls.doLoginByAccount,

                '/open/v3/user/processSnsId': cls.doProcessSnsID,

                '/open/v3/user/getSmsBindCode': cls.doGetSmsBindCode,
                '/open/v3/user/checkSmsBind': cls.doCheckSmsBind,

                '/open/v3/user/getSmsVerifyCode': cls.doGetSmsVerifyCode,
                '/open/v3/user/bindMobileByVerifyCode': cls.doBindMobileByVerifyCode,

                '/open/v3/user/bindBySnsId': cls.doBindBySnsId,
                '/open/v3/user/bindByEmail': cls.doBindByEmail,

                '/open/v3/user/renewAuthorCodeByTyId': cls.doRenewAuthorCodeByTyId,

                '/open/v3/user/getUserInfo': cls.doGetUserInfo,
                '/open/v3/user/setUserInfo': cls.doSetUserInfo,
                '/open/v3/user/setUserNickName': cls.doSetUserNickName,
                '/open/v3/user/setPasswd': cls.doSetPasswd,
                '/open/v3/user/setPasswdByVerifyCode': cls.doSetPasswdByVerifyCode,

                '/open/v3/user/setUserAvatar': cls.doSetUserAvatar,
                '/open/v3/user/reportContacts': cls.doReportContacts,

                '/open/v3/user/queryForbidden': cls.doQueryForbidden,
                '/open/v3/user/setForbidden': cls.doSetForbidden,

                '/open/v3/user/getGameServerMode': cls.doGetGameServerMode,

                '/open/v3/user/doSendSmsToUser': cls.doSendSmsToUser,
                '/open/v3/user/verifyAccount': cls.doVerifyAccount,
            }
            AccountCheck.__init_checker__()
        return cls.JSONPATHS
Esempio n. 7
0
    def getHtmlPaths(cls):
        if not cls.HTMLPATHS:
            cls.HTMLPATHS = {
                '/open/vc/user/smsCallback': cls.doManDaoSmsBindCallBack,
                '/open/vc/user/smsCallback/baifen': cls.doBaiFenSmsBindCallBack,

                # for ty/360 http api
                # '/open/v3/user/gettyid' : TuYouSLL.get_tyid,
                '/open/v3/user/gid2qid': TuYouSLL.gid2qid,
                '/open/v3/user/revokeqid': TuYouSLL.revoke_qid,

                # for pc qipai (360 kaiping)
                '/open/v3/user/kaiping/login': TuYouSLL.kp_login,
                # '/open/v3/user/kaiping/code' : TuYouSLL.kp_code,
                # '/open/v3/user/kaiping/login' : TuYouSLL.kp_login_new,
                '/open/v3/user/kaiping/code': TuYouSLL.kp_code_new,
                '/open/v3/user/kaiping/checkuser': TuYouSLL.kp_checkuser,
                '/open/v3/user/kaiping/exchange': TuYouSLL.kp_exchange,
            }
            AccountCheck.__init_checker__()
        return cls.HTMLPATHS
Esempio n. 8
0
 def getHtmlPaths(cls):
     if not cls.HTMLPATHS:
         cls.HTMLPATHS = {
             '/open/v3/adsclicked/duomeng': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/chukong': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/limei': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/youmi': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/dianru': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/wanpu': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/omygreen': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/juzhuanqian':
             AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/gdt': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/quzhuan': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/qianjia': AdvertiseService.ads_clicked,
             '/open/v3/adsclicked/shike': AdvertiseService.ads_clicked,
             '/open/v3/user/adnotifycallback':
             AdvertiseService.user_activated,
             '/open/v3/user/created': AdvertiseService.user_created,
             '/open/v3/adsclicked/checkidfa': AdvertiseService.check_idfas,
         }
         AccountCheck.__init_checker__()
     return cls.HTMLPATHS
Esempio n. 9
0
 def getJsonPaths(cls):
     if not cls.JSONPATHS:
         cls.JSONPATHS = {}
         AccountCheck.__init_checker__()
     return cls.JSONPATHS