- 不合法的 oauth_code?小程序获取授权接口,报错40029 ?
请求:https://api.weixin.qq.com/sns/jscode2session?grant_type=authorization_code&appid=****&secret=*****&js_code=0f35YB0w3wvgY03RuE2w3P1VTT35YB00 报错 { "errcode": 40029, "errmsg": "invalid code, rid: 64ae2697-4841f7ca-038035c2" }
2023-07-12 - 消息推送跳转 miniprogramState设置为trial不生效?求解答
SendTemplateRequest request = new SendTemplateRequest() .setTouser(openId) .setTemplateId(templateId) .setPage(page) .setMiniprogramState("trial") .setData(messageData); ResponseEntity<SendTemplateResponse> responseEntity = restTemplate.postForEntity(url, JSONObject.toJSONString(request), SendTemplateResponse.class); 结果还是跳转到正式的小程序
2022-04-21 - data.phrase2.value is emtpy? 求解答
java后台发送的data报文如下: {"amount1":{"value":"1.0"},"phrase2":{"value":"按支付渠道"},"phrase3":{"value":"商家退款"},"thing5":{"value":"实际入账可能稍有延迟,可后续刷新查看"},"time4":{"value":"12"}} 用postman调用是可以的,用Java就不行
2022-04-20