Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ 问题咨询 ]微信企业号消息通知模板中格式显示错误 #565

Closed
shmily90 opened this issue Dec 11, 2019 · 7 comments
Closed
Labels
bug Something isn't working

Comments

@shmily90
Copy link

shmily90 commented Dec 11, 2019

问题描述

提交工单配置的微信企业号通知,在微信企业号中
image

消息模本内容中的中文都不能显示查看了notify.py脚本,默认的字符集是UTF-8没有修改过

版本信息

  • 应用版本/分支:v1.7.2
  • 部署方式:Docker
@shmily90 shmily90 added the question Further information is requested label Dec 11, 2019
@shmily90 shmily90 changed the title [ 问题咨询 ] [ 问题咨询 ]微信企业号消息通知模板中格式显示错误 Dec 11, 2019
@hhyo
Copy link
Owner

hhyo commented Dec 11, 2019

升级导致还是一直如此?
后续全部改成纯文本的文案还需要你帮忙测试一下

@shmily90
Copy link
Author

升级导致还是一直如此?
后续全部改成纯文本的文案还需要你帮忙测试一下

一直如此,然后我将推送的消息格式都改成了text,将notify里面格式化的模块都去掉了
image
只剩基本的内容

image
可以达到想要的效果

@hhyo
Copy link
Owner

hhyo commented Dec 11, 2019

感谢,方便的话你可以提交一个pr来修复此问题,建议使用text格式,并且复用以前统一的msg_content,无需再单独定义消息体

@hhyo
Copy link
Owner

hhyo commented Dec 11, 2019

关联pr #483

@hhyo hhyo added bug Something isn't working and removed question Further information is requested labels Dec 11, 2019
@shmily90
Copy link
Author

ahh,菜鸟,不知道怎么提交。。。

@hhyo
Copy link
Owner

hhyo commented Dec 11, 2019

网上资料可以查阅一下,项目靠大家

hhyo added a commit that referenced this issue Dec 12, 2019
企业微信消息格式统一修改为text,ak使用redis缓存替换本地文件
@hhyo
Copy link
Owner

hhyo commented Dec 21, 2019

可升级至v1.7.4

@hhyo hhyo closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants