- 接口实际返回值和文档不符?
[图片] 实际返回 : queryUserIdKey result:{"code":84006,"data":{"expires_in":0},"message":"name or id_card_number empty hint: [rGrPjA02112906][2024-03-22 10:40:11] rid: 65fcef8b-1f60acc8-41b6be6a"}
03-22 - 公众号发模板消息刚获取的accesstoken 请求就报40001?
accesstoken:63_lw2Iv5ssd9Yt0VFL-5cGtV2-bKwfBjG0rt0AEMU6bwFrSER5LGRNlH8CbOdOaWPXl_dRX_yBlkvBJWOGvki9Bu1PYKu4Fc20iHdXO2xbL7fo-5h74zfhQH2W14YJYRaABATIB errcode:40001, errmsg:invalid credential, access_token is invalid or not latest rid: 63996da0-206e643f-29f0aca1
2022-12-14 - 发送公众号模板消息40001问题刚获取的accessTOKEN?
{"errcode":40001,"xx":"undefined","appName":"xx","channel":"xx","templateId":"YqNOi6epipVSTgZ809ghjk49K90It_bNXafggkH8KtM","body":"{\"channel\":\"passenger_coupon_expired_20221212\",\"data\":{\"push_type\":{\"value\":\"2\"},\"currentEnv\":{\"value\":\"微信公众号\"},\"role\":{\"value\":\"1\"},\"keyword3\":{\"value\":\"2022-12-14\"},\"user_id\":{\"value\":\"xx\"},\"keyword1\":{\"value\":\"xxxxx\"},\"keyword2\":{\"value\":\"xxx\"},\"remark\":{\"value\":\"xx\"},\"time\":{\"value\":\"20221213171811\"},\"first\":{\"value\":\"xxxxx~\"}},\"miniprogram\":{\"pagepath\":\"pages/index?channel=passenger_coupon_expired_20221212&userCid=xx\",\"appid\":\"wx7f9416391161a1a0\"},\"template_id\":\"YqNOi6epipVSTgZ809ghjk49K90It_bNXafggkH8KtM\",\"touser\":\"xx\",\"userCid\":\"xx\"}"} 发送公众号模板消息刚获取完token 发送就提示40001,获取accesstoken是统一的地方获取的然后保存在redis中使用。过期会重新获取 appid:wx7f9416391161a1a0 这是access_token=63_IpKTLn0NYcw6utWMIs0eS034T9KklC6TZfyYUJXV_AYMfVSPSyr1_TkBYPOzBorXDcXEQNUjZQpSRoVozEaX1DV441M8scvncepvC7S1AKmvFnUeZreG80IeN3oRHQeACAXNW
2022-12-13 - 调用企业微信 jscode2session 提示 api forbidden?
调用企业微信 jscode2session 提示 api forbidden? 前提取access_token正常 TreeMap<String, String> params = Maps.newTreeMap(); params.put("corpid", cfbProperties.getQywx_token_id()); params.put("corpsecret", cfbProperties.getQywx_token_secret());//应用的凭证密钥(每个应用有独立的secret,所以每个应用的access_token应该分开来获取) String json = HttpClientUtil.httpGet(QY_TOKEN_URL, params);
2022-04-01