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

keyword 没看懂是怎么使用 #1

Open
zhi-heart opened this issue Aug 25, 2020 · 1 comment
Open

keyword 没看懂是怎么使用 #1

zhi-heart opened this issue Aug 25, 2020 · 1 comment

Comments

@zhi-heart
Copy link

启动时能正常发送
但是测试要求keyword时不行,返回值
{"code":"DK000","data":"DK7A37FAD09BE5442F9FFB79E2D87501C8","logid":"DK7A37FAD09BE5442F9FFB79E2D87501C8","message":"success"}

@AnswerAIL
Copy link
Owner

如果说服务中每次请求都有一个唯一的请求id, 那么可以将这个请求id的值作为keyword的入参值, 如果没有且不需要keyword在通知体中体现出来, 那么可以重写消息通知体信息, 具体参见: 自定义消息体

keyword存在的意义: 可以快速的根据通知消息内容中的keyword的值定位到此处预警的请求日志,如可以使用UUID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants