Skip to content

Commit ca3f94f

Browse files
authoredJan 5, 2018
Update wechat_alert.py
1 parent 0d63889 commit ca3f94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎wechat_alert.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
def GetToken():
99
Corpid='ww3083060923921313121' # 企业ID
10-
CorpSecret='5_vWbwROiUQJkc2wBEPxkO0slPe2NsJ_qpvx2bW_M'
11-
gettoken_url = 'https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=' + Corpid + '&corpsecret=' + CorpSecret #企业号应用的Secret值
10+
CorpSecret='5_vWbwROiUQJkc2wBEPxkO0slPe2NsJ_qpvx2bW_M' #企业号应用的Secret值
11+
gettoken_url = 'https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=' + Corpid + '&corpsecret=' + CorpSecret
1212
#print (gettoken_url)
1313
try:
1414
token_file =requests.get(gettoken_url)

0 commit comments

Comments
 (0)
Please sign in to comment.