cehua_hzl
2018-08-22 af4a1f8d277bdb9e5bbd7e388bdc0c8ea901b380
1
2
3
4
5
6
7
8
9
10
11
12
G[c@sÀddlmZmZddlZddlZddlZddlZdZdZej    eeƒZ
ej j j ƒeƒZdZdZdZejdd    d
ƒd „ƒZejd „ZdS( iÿÿÿÿ(tBottletrequestNu22186239fee975f883198cf4ucb2b72ba143a3f3fb13a6f45t|s亲s
【%s】%ss/getui/index.phptmethodtPOSTc    Cs‰tj}tj|jddƒƒ}tjd|jddƒ|jddƒ|fƒ|jddƒsldS|jddƒjtƒ}|jddƒ}|jddƒ}| sÁ|t    j
krÍt    j
}n|jddƒjtƒ}|st |||ƒn„|jtƒ}d}xl|D]d}|t |ƒkr?||nt }tj|ƒ}t||f}t |g||ƒ|d7}qWdS(    Nt    NotifyMsgts%s-%s-%stRegIDt
PlayerNametOSNameii(RRturllibtunquotetgettloggingtinfotsplittDef_Split_Marktjpushtall_tPushOnetlent
Def_NoNamet NotifyFormat(    tgetDictt    notifyMsgtregIDst
playrNamestosNametindextregIDt
playerNametgeTuiMsg((s .\\webapp.pytJGGeTui0s*    2  "cCshtjƒ}i|d6|_tjd|ƒ|_||_idd6|_y|jƒ}WnnXdS(Ntregistration_idtalerti,t time_to_live(t_jpusht create_pushtaudienceRt notificationtplatformtoptionstsend(t    regIDListRRtpushtresponse((s .\\webapp.pyRSs     (tbottleRRR RtrequestsR
tapp_keyt master_secrettJPushR$tpackagesturllib3tdisable_warningstmyappRRRtrouteR RR(((s .\\webapp.pyt<module>s            #