Commit bf5e79a0 by dong

fix20230407

parent c3d61fc9
......@@ -1006,8 +1006,10 @@ def wechat_login():
if not all([code]):
return jsonify(code=RET.PARAMERR, msg="Parameter incompleteness!")
app_id = 'wx67c0a99d684274f8'
app_secret = 'd89755bb5d2d3f85e97d0f08c30dbebc'
# app_id = 'wx67c0a99d684274f8'
# app_secret = 'd89755bb5d2d3f85e97d0f08c30dbebc'
app_id = 'wx78f5fa8193a9d06a'
app_secret = 'c7a57d430061fb4ca131e5148ff0e6fe'
data = {"code": code}
# 获取token
url = u'https://api.weixin.qq.com/cgi-bin/token'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment