diff --git a/wechat/connect.py b/wechat/connect.py index a3f90cd..88a7b1a 100644 --- a/wechat/connect.py +++ b/wechat/connect.py @@ -29,7 +29,6 @@ class Connect(object): xml = req.stream.read() msg = parse_message(xml) if msg.type == 'text': - print('hello') reply = TextReply(content=msg.content, message=msg) xml = reply.render() resp.body = (xml) diff --git a/wechat/face_id.py b/wechat/face_id.py index bec8c7a..840b075 100644 --- a/wechat/face_id.py +++ b/wechat/face_id.py @@ -53,7 +53,6 @@ def get_params(img): def access_api(img): - print(img) frame = cv2.imread(img) nparry_encode = cv2.imencode('.jpg', frame)[1] data_encode = np.array(nparry_encode) diff --git a/wechat/utils.py b/wechat/utils.py index 61e8532..85c3374 100644 --- a/wechat/utils.py +++ b/wechat/utils.py @@ -5,8 +5,8 @@ import time import os token = '' -app_id = 'wxfc6adcdd7593a712' -secret = '429d85da0244792be19e0deb29615128' +app_id = '微信配置界面的AppID' +secret = '配置界面的开发者密码AppSecret' def img_download(url, name):