fix(wx): 优化获取手机号失败时的token缓存清理逻辑

- 解析不同类型的错误码以确保正确识别token相关错误
- 增加isTokenRelatedError方法判断特定错误码是否属于token相关错误
- 在获取手机号失败时清理对应的access_token缓存,防止token失效问题
- 输出详细日志便于排查微信获取手机号失败的异常情况
- 修正小程序二维码生成中env_version注释说明提升可读性
- 新增高级开发工程师专家配置数据
This commit is contained in:
2026-04-11 08:47:52 +08:00
parent 7aaf25c1ac
commit 789b8ddeca
3 changed files with 51 additions and 8 deletions

View File

@@ -33,7 +33,18 @@
"usedAt": 1775720823455,
"industryId": "all"
}
],
"11ef16ee251d4624968d1e84c0fb1de9": [
{
"expertId": "SeniorDeveloper",
"name": "Will",
"profession": "高级开发工程师",
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/SeniorDeveloper/SeniorDeveloper.png",
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/SeniorDeveloper/SeniorDeveloper_zh.md",
"usedAt": 1775866025894,
"industryId": "all"
}
]
},
"lastUpdated": 1775727841457
"lastUpdated": 1775866842655
}