发送模板消息,结果写入日志

FFIB 2 lat temu
rodzic
commit
df68566eea
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      pre/custom_message.py

+ 1 - 0
pre/custom_message.py

@@ -51,6 +51,7 @@ def sendtemplatemessage(openid=None, template_id=None, data=None, url=None, mini
51 51
 
52 52
     try:
53 53
         res = send_template_message(user_id=openid, template_id=template_id, data=data, url=url, miniappid=miniappid, minipagepath=minipagepath, appid=appid, secret=secret, storage=RedisStorage(r))
54
+        logger.info(res)
54 55
     except Exception as e:
55 56
         logger.info(e)
56 57
         return e