feat(wxapi): 随官方更新自定义交易组件优惠券相关接口模型

This commit is contained in:
Fu Diwei
2022-04-10 21:50:44 +08:00
parent 60910e8a0a
commit 2263398e4b
6 changed files with 60 additions and 8 deletions

View File

@@ -42,8 +42,9 @@
"valid_info": {
"valid_type": 1,
"valid_day_num": 10,
"start_time": "1625451250",
"end_time": "1625464250"
"valid_second": 3600,
"start_time": 1625451250,
"end_time": 1625464250
}
}
}

View File

@@ -15,11 +15,15 @@
},
"receive_info": {
"total_num": 100
},
"ext_info": {
"valid_time": 1625226181
}
},
"status": 0,
"create_time": 1625218450,
"update_time": 1625238573
"update_time": 1625238573,
"appid": "wx9e20708660a0991b"
},
"coupon_stock": {
"out_coupon_id": "out_coupon_id_3",
@@ -48,7 +52,8 @@
},
"status": 1,
"create_time": 1625239595,
"update_time": 1625239595
"update_time": 1625239595,
"appid": "wx9e20708660a0991b"
}
},
{
@@ -92,13 +97,18 @@
"valid_info": {
"valid_type": 1,
"valid_day_num": 10,
"valid_second": 3600,
"start_time": 1625451250,
"end_time": 1625464250
},
"ext_info": {
"valid_time": 1625473652
}
},
"status": 2,
"create_time": 1625454641,
"update_time": 1625473652
"update_time": 1625473652,
"appid": "wx9e20708660a0991b"
},
"coupon_stock": {
"out_coupon_id": "coupon_id_1",

View File

@@ -26,7 +26,7 @@
"buy_out_product_id": "product_id_1",
"buy_product_cnt": 3,
"get_out_product_id": "product_id_2",
"get_product_cnt": 2131241242
"get_product_cnt": 5
}
},
"discount_num": 9800,
@@ -41,13 +41,15 @@
"valid_info": {
"valid_type": 1,
"valid_day_num": 10,
"valid_second": 3600,
"start_time": 1625451250,
"end_time": 1625464250
}
},
"status": 1,
"create_time": 1625454641,
"update_time": 1625454641
"update_time": 1625454641,
"appid": "wx9e20708660a0991b"
}
}
}

View File

@@ -39,6 +39,7 @@
"valid_info": {
"valid_type": 1,
"valid_day_num": 10,
"valid_second": 3600,
"start_time": 1625451250,
"end_time": 1625464250
}