feat(wxapi): 新增微信小店合作商家为小程序发放礼物相关接口

This commit is contained in:
Fu Diwei
2026-02-05 17:53:56 +08:00
parent 1a9793ffc3
commit 71cfa74c3d
30 changed files with 1019 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
{
"shop_appid": "wxxxxxxxxxxxxxxxxx",
"activity_id": "111"
}

View File

@@ -0,0 +1,32 @@
{
"errcode": 0,
"errmsg": "ok",
"activity": {
"activity_id": "111",
"info": {
"basic_info": {
"activity_start_time": "1745856000",
"activity_end_time": "1746028800",
"shop_info": {
"nickname": "小店昵称",
"appid": "wxxxxxxxxxxxxxxxxx"
}
},
"prize_info": {
"product_info_list": [
{
"product_id": "111111111111111",
"sku_id": "2222222222",
"product_img_url": "https://res.wx.qq.com/op_res/1UTAKQSOJopJ5uMwT8EKEWPgJ1RjiMm8XC93FVwJ6GZlPmfXBjqkwVz8QvO985FR-IWAdYj1sMsaVYdl4jEwUA",
"product_name": "商品名称",
"sku_name": "商品sku名称",
"price": "10",
"stock_num": "10",
"can_use_stock_num": "10"
}
]
}
},
"status": 1
}
}

View File

@@ -0,0 +1,17 @@
{
"errcode": 0,
"errmsg": "ok",
"list": [
{
"shop_appid": "wxxxxxxxxxxxxxxxxx",
"shop_nickname": "小店昵称",
"activity_id": "111"
},
{
"shop_appid": "wxxxxxxxxxxxxxxxxx",
"shop_nickname": "小店昵称",
"activity_id": "222"
}
],
"total_num": 2
}