feat(work): 新增接口调用许可订单管理相关接口

This commit is contained in:
Fu Diwei
2022-10-31 13:38:06 +08:00
parent 0521c968d8
commit c3d5118974
27 changed files with 822 additions and 12 deletions

View File

@@ -0,0 +1,4 @@
{
"corpid": "CORPID",
"order_id": "xxxxx"
}

View File

@@ -0,0 +1,12 @@
{
"corpid": "wwxxx",
"buyer_userid": "xxxx",
"account_count": {
"base_count": 100,
"external_contact_count": 100
},
"account_duration": {
"months": 2,
"days": 20
}
}

View File

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

View File

@@ -0,0 +1,10 @@
{
"corpid": "wwxxx",
"account_list": [
{
"userid": "userid1",
"type": 1
}
],
"jobid": "JOBID"
}

View File

@@ -0,0 +1,13 @@
{
"errcode": 0,
"errmsg": "ok",
"jobid": "xxxx",
"invalid_account_list": [
{
"errcode": 1,
"errmsg": "xxx",
"userid": "userid1",
"type": 1
}
]
}

View File

@@ -0,0 +1,22 @@
{
"errcode": 0,
"errmsg": "ok",
"order": {
"order_id": "xxxxx",
"order_type": 1,
"order_status": 1,
"corpid": "wpxxxx",
"price": 10000,
"account_count": {
"base_count": 100,
"external_contact_count": 100
},
"account_duration": {
"months": 2,
"days": 20,
"new_expire_time": 1700000000
},
"create_time": 150000000,
"pay_time": 1550000000
}
}

View File

@@ -0,0 +1,5 @@
{
"order_id": "XXXXXXXX",
"limit": 1000,
"cursor": "xxxx"
}

View File

@@ -0,0 +1,18 @@
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "xxxx",
"has_more": 1,
"account_list": [
{
"active_code": "code1",
"userid": "XXX",
"type": 1
},
{
"active_code": "code2",
"userid": "XXX",
"type": 2
}
]
}

View File

@@ -0,0 +1,7 @@
{
"corpid": "xxxxx",
"start_time": 1500000000,
"end_time": 1600000000,
"cursor": "xxx",
"limit": 10
}

View File

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