feat(wxapi): 新增微信小店连接小程序相关接口

This commit is contained in:
Fu Diwei
2025-07-11 10:03:19 +08:00
parent f4a99a517e
commit e331b6ea53
18 changed files with 565 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
{
"openid": "xxx",
"file_url": "xxx"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "成功",
"media_id": "892AERDPD2323"
}

View File

@@ -0,0 +1,8 @@
{
"activity_id": "22123",
"openid": "oDiTs6x9ccP19TfQH5OvKOWeXAeo",
"shop_appid": "wxxxxxxxxxxxxxxxxx",
"wishmessage": "祝福你",
"product_id": "10000239729501",
"sku_id": "3623160014"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"present_order_id": "4226341196275658752"
}

View File

@@ -0,0 +1,4 @@
{
"present_order_id": "4226341196275658752",
"open_id": "OPENID"
}

View File

@@ -0,0 +1,18 @@
{
"errcode": 0,
"errmsg": "ok",
"present_order_info": {
"ecsgift": {
"gifts": {
"gift": [
{
"order_id": 4226341196275658752,
"wishmessage": "祝福你",
"giftstatus": 0
}
]
},
"user_type": 1
}
}
}

View File

@@ -0,0 +1,10 @@
{
"shop_appid": "wxxxxxxxxxxxxxxxxx",
"open_id": "OPENID",
"create_time_range": {
"start_time": "1749007175",
"end_time": "1749008175"
},
"page_size": 10,
"next_key": "THE_NEXT_KEY"
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"present_order_list": [
{
"present_order_id": "4226341196275658752",
"order_id": [ "3805363027490897920", "3805363027490897924" ]
}
]
}