java 发货信息录入接口字段item_desc中文乱码怎么解决?
文档地址: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order-shipping/order-shipping.html#%E4%B8%80%E3%80%81%E5%8F%91%E8%B4%A7%E4%BF%A1%E6%81%AF%E5%BD%95%E5%85%A5%E6%8E%A5%E5%8F%A3 请求参数: {
"shipping_list": [
{
"item_desc": "书籍"
}
],
"upload_time": "2023-10-23T16:21:27.144+08:00",
"order_key": {
"transaction_id": "4200001985202310235326041813",
"order_number_type": 2
},
"logistics_type": 4,
"payer": {
"openid": "oMZf_5DPXWNH0cHxIKcEISo56"
},
"delivery_mode": 1
}
发起POST请求: HttpPost httpPost = new HttpPost(httpUrl);
//以json形式提交请求
httpPost.setHeader("Content-Type", "application/json;charset=UTF-8");
返回状态正常,已经发货成功,但是在微信客户端服务通知中商品信息乱码,大佬么是怎么解决的? [图片]