feat(wxapi): 新增微信小店带货助手相关接口

This commit is contained in:
Fu Diwei
2025-05-06 21:01:51 +08:00
parent 9fbfcdc8c4
commit 4e20bc9515
21 changed files with 756 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
{
"order_id": "123",
"sku_id": "12345"
}

View File

@@ -0,0 +1,30 @@
{
"errcode": "0",
"errmsg": "ok",
"base_info": {
"order_id": "202402260001",
"spu_id": "123456",
"sku_id": "987654",
"order_status": 2,
"actual_payment": "99.99",
"order_create_time": 1700000000,
"order_update_time": 1700003600,
"buyer_info": {
"open_id": "o1234567890abcdef",
"union_id": "u1234567890abcdef"
}
},
"commission_info": {
"state": 1,
"ratio": "0",
"expect_settle_time": 1701000000,
"expect_settlement": "9.99",
"actual_settle_time": 1702000000,
"actual_settlement": "9.99"
},
"channel_info": {
"channel_type": 2,
"channel_id": "channel_12345",
"channel_name": "某视频号"
}
}

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"order_list": [
{
"order_id": "123",
"sku_id": "1234"
}
],
"has_more": true
}

View File

@@ -0,0 +1,18 @@
{
"errcode": 0,
"errmsg": "ok",
"product": {
"product_id": "1000000000000",
"appid": "wxee9f94a33abcdefg",
"out_product_id": "",
"title": "api测试商品",
"img_url": "https://mmecimage.cn/p/wx37f38d59298839c3/HJE9eJaEc5bJk-eaArVdILSB7MMaHgdK2-JIn51nMQ",
"leaf_category_id": 6091,
"status": 1,
"selling_price": 999,
"stock": 1,
"sales": 123,
"is_hide": false,
"product_promotion_link": "v1=HAOHK025pGFF8tBx69zbwNpU473uiTNa5MOHrs_Hknqa_-Cjk9IbBHMHeKh5rSnIrQ"
}
}

View File

@@ -0,0 +1,5 @@
{
"page_size": 1,
"page_index": 1,
"last_buffer": "abcdefg"
}

View File

@@ -0,0 +1,17 @@
{
"errcode": 0,
"errmsg": "ok",
"products": [
{
"product_id": "1000000000000",
"appid": "wxee9f94a33abcdefg",
"product_source": 1
},
{
"product_id": "14000000000000",
"out_product_id": "100000012356",
"product_source": 2
}
],
"last_buffer": "EB4YAg="
}