- hardwareDevice.send 接口提交数据为中文就报错?
问题一: hardwareDevice.send 接口提交数据character_string2为中文就报错,提交参数如下。如果character_string2改成英文或数字就可以。 {"template_id": "9KfVCKix4YrZ3723B1JM8_CRXTmCHdkJpru2HJz-T0c","sn": "98373222aaaa893","model_id": "ug6wkx64Bo8ElaUAYBPxhA","page": "pages/index/index","to_openid_list":["oZMkn5CR20GHJrPPpK3iTXmEA--w"],"data":{"time1":{"value":"2022-04-08 16:17:12"},"character_string2":{"value":"测试"}},"miniprogram_state":"formal","lang":"zh_CN"} 返回结果:{"errcode":47003,"errmsg":"argument invalid! data.character_string2.value i rid: 637c31bf-2a071635-2b9aa5e5"} 问题二:如果模板中选用 enum_string5,无论enum_string5赋值中文或字母都报argument invalid! {"template_id": "9KfVCKix4YrZ3723B1JM899nEvE_gkLnunONy_qCn70","sn": "98373222aaaa893","model_id": "ug6wkx64Bo8ElaUAYBPxhA","page": "pages/index/index","to_openid_list":["oZMkn5CR20GHJrPPpK3iTXmEA--w"],"data":{"time1":{"value":"2022-04-08 16:17:12"},"character_string2":{"value":"SCX-4521HS"},"enum_string5":{"value":"院长"}},"miniprogram_state":"formal","lang":"zh_CN"} 结果:{"errcode":47003,"errmsg":"argument invalid! data.enum_string5.value invali rid: 637c33c4-4fbd69b8-40fdaead"}
2022-11-22 - 咨询 素材管理 /获取素材列表 获取到的URL
https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_materials_list.html 素材管理 /获取素材列表 获取到的URL在小程序web-view控件中不能使用,提示未授权的链接。公众号跟小程序是关联的,至少获取到的URL格式的问题,如何获取到小程序web-view控件能链接的URL
2021-10-21