feat(work): 新增数据与智能调用程序、调试模式、订单管理等相关接口

This commit is contained in:
Fu Diwei
2025-02-05 14:00:49 +08:00
parent 06bbc32043
commit 20e13bc8ab
51 changed files with 1332 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
{
"advanced_api_type": 1,
"custom_corpid": "wwxxx",
"buyer_userid": "xxxx",
"order_type": 1,
"chat_archive_api": {
"edition": 3,
"old_edition": 2,
"purchase_count": 100,
"take_effect_time": 1704038400,
"old_edition_info": {
"begin_time": 1704038000,
"end_time": 1704038000
},
"target_edition_info": {
"begin_time": 1704038000,
"end_time": 1704038000
}
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"order_id": "xxxx"
}

View File

@@ -0,0 +1,4 @@
{
"advanced_api_type": 1,
"custom_corpid": "xxxxx"
}

View File

@@ -0,0 +1,20 @@
{
"errcode": 0,
"errmsg": "ok",
"chat_archive_api_buy_info": {
"edition_list": [
{
"edition": 2,
"purchase_count": 100,
"begin_time": 1726588800,
"end_time": 1729180800
},
{
"edition": 3,
"purchase_count": 100,
"begin_time": 1726588800,
"end_time": 1729180800
}
]
}
}

View File

@@ -0,0 +1,22 @@
{
"errcode": 0,
"errmsg": "ok",
"order": {
"advanced_api_type": 1,
"order_id": "xxxxx",
"order_type": 1,
"order_status": 1,
"custom_corpid": "wpxxxx",
"create_time": 150000000,
"buyer_userid": "xxx",
"paid_price": 10000,
"chat_archive_api": {
"edition": 2,
"purchase_count": 100,
"purchase_duration_days": 90,
"take_effect_time": 150000000,
"end_time": 150000000,
"original_price": 10010
}
}
}

View File

@@ -0,0 +1,8 @@
{
"custom_corpid": "xxxxx",
"start_time": 1500000000,
"end_time": 1600000000,
"advanced_api_type": 1,
"cursor": "xxx",
"limit": 10
}

View File

@@ -0,0 +1,14 @@
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "xxx",
"has_more": 1,
"order_list": [
{
"order_id": "xxx",
"order_type": 1,
"order_status": 1,
"create_time": 1704038400
}
]
}

View File

@@ -0,0 +1,4 @@
{
"payer_userid": "USERID",
"order_id": "ORDERID"
}