Skip to content

Commit

Permalink
添加token验证
Browse files Browse the repository at this point in the history
  • Loading branch information
gusibi committed May 1, 2016
1 parent 7eba0f1 commit a7ca8e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions weixin/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def validate_signature(self):
accepts_parameters=["openid"],
response_type="entry")

validate_user = bind_method(path="/sns/auth",
accepts_parameters=["openid"],
response_type="entry")

jsapi_ticket = bind_method(path='/cgi-bin/ticket/getticket',
accepts_parameters=['type'],
response_type="entry")
Expand Down

0 comments on commit a7ca8e8

Please sign in to comment.