Files
order/common/libs/member/__pycache__/MemberService.cpython-39.pyc

7 lines
1.5 KiB
Plaintext
Raw Normal View History

2023-10-05 00:25:16 +08:00
a
Íe<00>@sFddlZddlZddlZddlZddlZddlmZGdd<04>d<04>ZdS)<05>N)<01>appc@s4eZdZed dd<03><01>Zed
dd<06><01>Zedd<08><00>ZdS) <0B> MemberServiceNcCs4t<00><01>}d|j|j|jf}|<01>|<02>d<02><01>|<01><07>S)Nz%s-%s-%szutf-8)<08>hashlib<69>md5<64>id<69>salt<6C>status<75>update<74>encode<64> hexdigest)<03> member_info<66>m<>str<74>r<00>4/home/www/orderr/common/libs/member/MemberService.py<70> geneAuthCodeszMemberService.geneAuthCode<64>cCsdd<02>t|<00>D<00>}d<03>|<01>S)NcSsg|]}t<00>tjtj<00><01>qSr)<05>random<6F>choice<63>string<6E> ascii_letters<72>digits)<02>.0<EFBFBD>irrr<00>
<listcomp><00>z*MemberService.geneSalt.<locals>.<listcomp><3E>)<02>range<67>join)<02>length<74>keylistrrr<00>geneSalt szMemberService.geneSaltcCs\d<01>tjddtjdd|<00>}t<03>|<01>}t<05>|j<07>}tj<08> |<03>d}d|vrX|d}|S)Nzkhttps://api.weixin.qq.com/sns/jscode2session?appid={0}&secret={1}&js_code={2}&grant_type=authorization_code<64>MINA_APP<50>appid<69>appkey<65>openid)
<EFBFBD>formatr<00>config<69>requests<74>get<65>json<6F>loads<64>text<78>logger<65>info)<05>code<64>url<72>r<>resr%rrr<00>getWeChatOpenIds<1A>
  zMemberService.getWeChatOpenId)N)r)<07>__name__<5F>
__module__<EFBFBD> __qualname__<5F> staticmethodrr!r3rrrrrs   r)rr(rrr*<00> applicationrrrrrr<00><module>s(