我也是,总是这个错误值,你们是如何解决的?
订阅消息 data.thing1.value is emtpy订阅消息返回报错: {"errcode":47003,"errmsg":"argument invalid! hint: [IWJsFA00994126] data.thing1.value is emtpy"} APPID:wxf0428f0b3eb8ec43 请求参数:{"touser":"odyaQ4qCyXeEVUXW8sKslcwfubTs","data":"{\"time3\":{\"value\":\"15:01\"},\"name2\":{\"value\":\"deeeda\"},\"thing1\":{\"value\":\"dddddd\"}}","template_id":"JM33rqWVwHPCfqbmH5ZMPdwqBIZYkUq_vUNFRkryZzA","page":"pages/index/index"} { "touser": "odyaQ4qCyXeEVUXW8sKslcwfubTs", "data": { "time3": { "value ": "15: 01 " }, "name2 ": { "value ": "deeeda " }, "thing1 ": { "value ": "dddddd " } }, "template_id": "JM33rqWVwHPCfqbmH5ZMPdwqBIZYkUq_vUNFRkryZzA", "page": "pages/index/index" } 微信公众平台订阅消息模板: [图片] 无论怎样调整都是报data.thing1.value 这个参数为空?官方技术大大可以告诉我这是哪里有错?实在是检查不出是哪里的错。现在订阅消息这一块就是被这里卡住了,公司项目的订阅消息完全用不了。求救啊,官方技术大大!!
2020-08-27请问前端如何获取小程序码中附带的参数值呢?
wxacode.getUnlimited生成小程序码,前端无法读取scene前端: onLoad: function (options) { var scene = JSON.stringify(decodeURIComponent(options)) console.log('我是options: ' + scene) console.log(options.scene) }, 后端 params.put("scene", "c=" + cardOpenId); params.put("width", 430); HttpPost request = new HttpPost(postUrl.trim()); request.setHeader("Content-Type", "application/json"); request.setEntity(new ByteArrayEntity(JSON.toJSON(params).toString().getBytes())); HttpClient httpClient = HttpClients.createDefault(); HttpResponse httpResponse = httpClient.execute(request);
2020-08-25