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

FFIB лет %!s(int64=2): %!d(string=назад)
Родитель
Сommit
df68566eea
1 измененных файлов с 1 добавлено и 0 удалено
  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