feat(wxapi): 新增小程序用户交易类投诉相关接口

This commit is contained in:
Fu Diwei
2021-12-15 17:29:33 +08:00
parent 6220d9afc2
commit 10ab0af625
20 changed files with 684 additions and 18 deletions

View File

@@ -0,0 +1,30 @@
<xml>
<appid>123</appid>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[complaint_callback]]></Event>
<option_type>123</option_type>
<complaint_order_id>123</complaint_order_id>
<status>123</status>
<create_time>123</create_time>
<expire_time>123</expire_time>
<type>123</type>
<order_id>123</order_id>
<out_trade_no>123</out_trade_no>
<phone_number>123</phone_number>
<open_id>123</open_id>
<customer_material_content>123</customer_material_content>
<customer_material_media_id_list>123</customer_material_media_id_list>
<pay_time>123</pay_time>
<total_cost>123</total_cost>
<product_name>123</product_name>
<history>
<time>123</time>
<content>123</content>
<media_id_list>123</media_id_list>
</history>
<history>
<time>123</time>
<content>123</content>
<media_id_list>123</media_id_list>
</history>
</xml>

View File

@@ -1,19 +1,13 @@
{
"touser": "OPENID",
"to_openid_list": [ "OPENID_1", "OPENID_2" ],
"sn": "XXXXXXX",
"template_id": "TEMPLATE_ID",
"page": "index",
"miniprogram_state": "formal",
"lang": "zh_CN",
"data": {
"name01": {
"value": "某某"
},
"amount01": {
"value": "¥100"
},
"thing01": {
"value": "广州至北京"
},
"date01": {
"value": "2018-01-01"
"time1": {
"value": "2021-09-10 19:00:00"
}
}
}

View File

@@ -2,10 +2,6 @@
"touser": "OPENID",
"template_id": "TEMPLATE_ID",
"url": "URL",
"miniprogram": {
"appid": "xiaochengxuappid12345",
"pagepath": "index?foo=bar"
},
"scene": "SCENE",
"title": "TITLE",
"data": {

View File

@@ -0,0 +1,6 @@
{
"content": "",
"complaintOrderId": 1212,
"mediaIdList": [],
"bussiHandle": 1
}

View File

@@ -0,0 +1,5 @@
{
"content": "",
"complaintOrderId": 1212,
"mediaIdList": []
}

View File

@@ -0,0 +1,36 @@
{
"errcode": 0,
"errmsg": "ok",
"complaintOrder": {
"complaintOrderId": 1212,
"openId": "dfasefasefase",
"createTime": 123124124,
"phoneNumber": 156222222,
"type": 12,
"status": 1,
"customerMaterial": {
"content": "",
"mediaIdList": [ "fsadfasdfsaf" ]
},
"orderId": "2342",
"outTradeNo": "sdfsfd",
"productName": "sdf",
"payTime": 123123,
"totalCost": 1213,
"expireTime": 1231231
},
"item": [
{
"itemType": 1,
"time": 1233234234,
"phoneNumber": "156222222",
"content": "",
"mediaIdList": [ "asdfasdf" ]
}
],
"returnBill": {
"returnId": "23234234234",
"waybillId": "adfasdf",
"orderStatus": 4
}
}