Skip to content

Commit 4b8ade3

Browse files
committed
modify bug
1 parent 31cd60b commit 4b8ade3

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

wechat/connect.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def on_post(self, req, resp):
2929
xml = req.stream.read()
3030
msg = parse_message(xml)
3131
if msg.type == 'text':
32-
print('hello')
3332
reply = TextReply(content=msg.content, message=msg)
3433
xml = reply.render()
3534
resp.body = (xml)

wechat/face_id.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def get_params(img):
5353

5454

5555
def access_api(img):
56-
print(img)
5756
frame = cv2.imread(img)
5857
nparry_encode = cv2.imencode('.jpg', frame)[1]
5958
data_encode = np.array(nparry_encode)

wechat/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import os
66

77
token = ''
8-
app_id = 'wxfc6adcdd7593a712'
9-
secret = '429d85da0244792be19e0deb29615128'
8+
app_id = '微信配置界面的AppID'
9+
secret = '配置界面的开发者密码AppSecret'
1010

1111

1212
def img_download(url, name):

0 commit comments

Comments
 (0)