feat(wxapi): 新增微信小店代发供货商相关接口

This commit is contained in:
Fu Diwei
2025-09-30 01:25:00 +08:00
parent 743c06c784
commit 771806924a
78 changed files with 2322 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
{
"order_id": "37012940902395351",
"supplier_appid": "wxabc",
"dropship_product_list": [
{
"spu_id": "1253129080",
"sku_id": "2983950535",
"product_cnt": 3
}
]
}

View File

@@ -0,0 +1,11 @@
{
"order_id": "37012940902395351",
"ds_order_id": "37012940902395351",
"dropship_product_list": [
{
"spu_id": "1253129080",
"sku_id": "2983950535",
"product_cnt": 3
}
]
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"dropship_order": {
"ds_order_id": 0,
"create_time": 0,
"update_time": 0,
"status": 0,
"supplier_appid": "",
"supplier_name": "",
"order_id": 0
}
}

View File

@@ -0,0 +1,12 @@
{
"order_id": "37000204335323251",
"create_time_range": {
"start_time": 1658505600,
"end_time": 1658509200
},
"status": 0,
"page_info": {
"offset": 0,
"limit": 10
}
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"ds_order_id_list": [
"4404612354559743232",
"4404849110714209536"
],
"next_page": {
"offset": 10,
"limit": 10
},
"total": 100
}

View File

@@ -0,0 +1,14 @@
{
"search_condition": {
"order_id": "37000204335323251",
"create_time_range": {
"start_time": 1658505600,
"end_time": 1658509200
},
"status": 0
},
"page_info": {
"offset": 0,
"limit": 10
}
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"ds_order_id_list": [
"4404612354559743232",
"4404849110714209536"
],
"next_page": {
"offset": 10,
"limit": 10
},
"total": 100
}

View File

@@ -0,0 +1,16 @@
{
"ds_order_id": "123456",
"delivery_list": [
{
"delivery_id": "YD",
"waybill_id": "23424324253",
"product_infos": [
{
"product_cnt": 1,
"product_id": "12345",
"sku_id": "678910"
}
]
}
]
}

View File

@@ -0,0 +1,29 @@
{
"ds_order_id": "123456",
"change_infos": [
{
"old": {
"delivery_id": "YD",
"waybill_id": "23424324253",
"product_infos": [
{
"product_cnt": 1,
"product_id": "12345",
"sku_id": "678910"
}
]
},
"new": {
"delivery_id": "SF",
"waybill_id": "SF120930535",
"product_infos": [
{
"product_cnt": 1,
"product_id": "12345",
"sku_id": "678910"
}
]
}
}
]
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"dropship_order": {
"ds_order_id": "4429352113418018304",
"create_time": 1751959503,
"update_time": 1751959503,
"status": 300,
"shop_appid": "wx2b255582a7b4bfd0",
"shop_name": "开平电商小店",
"order_id": "3729352105237033728"
}
}

View File

@@ -0,0 +1,12 @@
{
"order_id": "37000204335323251",
"create_time_range": {
"start_time": 1658505600,
"end_time": 1658509200
},
"status": 0,
"page_info": {
"offset": 0,
"limit": 10
}
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"ds_order_id_list": [
"4404612354559743232",
"4404849110714209536"
],
"next_page": {
"offset": 10,
"limit": 10
},
"total": 100
}

View File

@@ -0,0 +1,14 @@
{
"search_condition": {
"order_id": "37000204335323251",
"create_time_range": {
"start_time": 1658505600,
"end_time": 1658509200
},
"status": 0
},
"page_info": {
"offset": 0,
"limit": 10
}
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"ds_order_id_list": [
"4404612354559743232",
"4404849110714209536"
],
"next_page": {
"offset": 10,
"limit": 10
},
"total": 100
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "",
"name": "供货商名称"
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "",
"distribute_type": 0,
"all_supplier_appid": "",
"all_distribute_supplier_name": ""
}

View File

@@ -0,0 +1,15 @@
{
"list": [
{
"appid": "wx8888888",
"name": "供货商test",
"status": 1,
"bind_audit_status": 1,
"update_time": 1754386966,
"head_img": "https://www.qq.com/1.png"
}
],
"total_count": 10,
"errcode": 0,
"errmsg": ""
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "",
"exist_default_supplier": false,
"supplier_appid": ""
}

View File

@@ -0,0 +1,10 @@
{
"is_filter_distribute_status": false,
"distribute_status": 0,
"is_filter_product_status": false,
"product_status": 0,
"is_filter_supplier_appid": false,
"supplier_appid": "",
"limit": 0,
"page_context": ""
}

View File

@@ -0,0 +1,14 @@
{
"errcode": 0,
"errmsg": "",
"page_context": "",
"total_count": 0,
"list": [
{
"product_id": 0,
"distribute_status": 0,
"supplier_appid": "",
"supplier_name": ""
}
]
}

View File

@@ -0,0 +1,14 @@
{
"list": [
{
"name": "",
"appid": "",
"status": 0,
"bind_audit_status": 0,
"update_time": 0
}
],
"total_count": 0,
"errcode": 0,
"errmsg": ""
}

View File

@@ -0,0 +1,9 @@
{
"list": [
{
"supplier_appid": "",
"product_id": 0,
"is_distribute": false
}
]
}