feat(tenpayv3): 随官方更新消费者投诉单相关接口模型

This commit is contained in:
Fu Diwei
2023-03-09 19:49:06 +08:00
parent 68c1a7ba93
commit 0b072609e7
6 changed files with 205 additions and 56 deletions

View File

@@ -1,9 +1,9 @@
{
{
"complaint_id": "200201820200101080076610000",
"complaint_time": "2015-05-20T13:29:35.120+08:00",
"complaint_detail": "反馈一个重复扣费的问题",
"complaint_state": "PENDING",
"complainted_mchid": "1900012181",
"complaint_state": "PENDING",
"payer_phone": "sGdNeTHMQGlxCWiUyHu6XNO9GCYln2Luv4HhwJzZBfcL12sB",
"payer_openid": "oUpF8uMuAJO_M2pxb1Q9zNjWeS6o",
"complaint_media_list": [
@@ -21,15 +21,21 @@
"amount": 3
}
],
"complaint_full_refunded": true,
"incoming_user_response": true,
"problem_description": "不满意商家服务",
"user_complaint_times": 1,
"service_order_info": [
{
"order_id": "15646546545165651651",
"out_order_no": "1234323JKHDFE1243252",
"state": "CREATED"
"state": "DOING"
}
]
],
"complaint_full_refunded": true,
"incoming_user_response": true,
"problem_description": "不满意商家服务",
"user_complaint_times": 1,
"additional_info": {
"share_power_info": {
"return_time": "2023-02-10T14:44:00+08:00"
},
"type": "SHARE_POWER_TYPE"
}
}

View File

@@ -1,23 +1,23 @@
{
{
"data": [
{
"complaint_media_list": [
{
"media_type": "USER_COMPLAINT_IMAGE",
"media_url": [
"https://api.mch.weixin.qq.com/v3/merchant-service/images/xxxxx"
]
}
],
"complaint_media_list": {
"media_type": "USER_COMPLAINT_IMAGE",
"media_url": [
"https://api.mch.weixin.qq.com/v3/merchant-service/images/xxxxx"
]
},
"log_id": "300285320210322170000071077",
"operator": "投诉人",
"operate_time": "2015-05-20T13:29:35.120+08:00",
"operate_type": "USER_CREATE_COMPLAINT",
"operate_details": "已与用户电话沟通解决",
"image_list": ["https://qpic.cn/xxx"]
"image_list": [
"https://qpic.cn/xxx"
]
}
],
"limit": 10,
"limit": 50,
"offset": 50,
"total_count": 1000
}

View File

@@ -1,12 +1,34 @@
{
{
"data": [
{
"additional_info": {
"share_power_info": {
"return_time": "2023-02-10T14:44:00+08:00"
},
"type": "SHARE_POWER_TYPE"
},
"complaint_id": "200201820200101080076610000",
"complaint_time": "2015-05-20T13:29:35.120+08:00",
"complaint_detail": "反馈一个重复扣费的问题",
"complaint_state": "PENDING",
"complainted_mchid": "1900012181",
"payer_phone": "Qe41VhP/sGdNeTHMQGlxCWiUyHu6XNO9GCYln2Luv4HhwJzZBfcL12sB+PgZcS5NhePBog30NgJ1xRaK+gbGDKwpg==",
"complaint_order_info": [
{
"transaction_id": "4200000404201909069117582536",
"out_trade_no": "20190906154617947762231",
"amount": 3
}
],
"service_order_info": [
{
"order_id": "15646546545165651651",
"out_order_no": "1234323JKHDFE1243252",
"state": "DOING"
}
],
"complaint_full_refunded": true,
"incoming_user_response": true,
"user_complaint_times": 1,
"complaint_media_list": [
{
"media_type": "USER_COMPLAINT_IMAGE",
@@ -15,32 +37,10 @@
]
}
],
"complaint_order_info": [
{
"transaction_id": "4200000404201909069117582536",
"out_trade_no": "20190906154617947762231",
"amount": 3
},
{
"transaction_id": "4200000404201909069117582836",
"out_trade_no": "20190906154617947762291",
"amount": 4
}
],
"complaint_full_refunded": true,
"incoming_user_response": true,
"problem_description": "不满意商家服务",
"user_complaint_times": 1
"problem_description": "不满意商家服务"
}
],
"limit": 5,
"offset": 10,
"total_count": 1000,
"service_order_info": [
{
"order_id": "15646546545165651651",
"out_order_no": "1234323JKHDFE1243252",
"state": "CREATED"
}
]
"total_count": 1000
}