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

微信小程序 API 响应结构解析问题导致 topic 发布偶现 500 报错 #2

Closed
0xSchnappi opened this issue May 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0xSchnappi
Copy link
Contributor

由于suggest属性是可能存在属性,res['result']返回值里不一定存在,应该先检查是否存在,再校验

if res['result']['suggest'] != 'pass':

image

@YYJeffrey YYJeffrey added the bug Something isn't working label May 13, 2024
@YYJeffrey YYJeffrey changed the title topic发布偶尔500报错 微信小程序 API 响应结构解析问题导致 topic 发布偶现 500 报错 May 13, 2024
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