新功能(#102): 新增邀请记录接口并删除旧邀请销售接口
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -1183,15 +1183,15 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/public/user/invite_sales": {
|
||||
"/v1/public/user/invite_records": {
|
||||
"get": {
|
||||
"summary": "Get Invite Sales",
|
||||
"operationId": "GetInviteSales",
|
||||
"summary": "Get Invite Records",
|
||||
"operationId": "GetInviteRecords",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GetInviteSalesResponse"
|
||||
"$ref": "#/definitions/GetInviteRecordsResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3166,7 +3166,7 @@
|
||||
"connection_records"
|
||||
]
|
||||
},
|
||||
"GetInviteSalesRequest": {
|
||||
"GetInviteRecordsRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"page": {
|
||||
@@ -3186,7 +3186,7 @@
|
||||
"format": "int64"
|
||||
}
|
||||
},
|
||||
"title": "GetInviteSalesRequest",
|
||||
"title": "GetInviteRecordsRequest",
|
||||
"required": [
|
||||
"page",
|
||||
"size",
|
||||
@@ -3194,7 +3194,7 @@
|
||||
"end_time"
|
||||
]
|
||||
},
|
||||
"GetInviteSalesResponse": {
|
||||
"GetInviteRecordsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"total": {
|
||||
@@ -3204,11 +3204,11 @@
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/InvitedUserSale"
|
||||
"$ref": "#/definitions/InviteRecord"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": "GetInviteSalesResponse",
|
||||
"title": "GetInviteRecordsResponse",
|
||||
"required": [
|
||||
"total",
|
||||
"list"
|
||||
@@ -3558,30 +3558,34 @@
|
||||
"gift_days"
|
||||
]
|
||||
},
|
||||
"InvitedUserSale": {
|
||||
"InviteRecord": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"amount": {
|
||||
"type": "number",
|
||||
"format": "double"
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"peer_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"gift_days": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"user_hash": {
|
||||
"order_no": {
|
||||
"type": "string"
|
||||
},
|
||||
"product_name": {
|
||||
"type": "string"
|
||||
"created_at": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
},
|
||||
"title": "InvitedUserSale",
|
||||
"title": "InviteRecord",
|
||||
"required": [
|
||||
"amount",
|
||||
"updated_at",
|
||||
"user_hash",
|
||||
"product_name"
|
||||
"role",
|
||||
"peer_hash",
|
||||
"gift_days",
|
||||
"order_no",
|
||||
"created_at"
|
||||
]
|
||||
},
|
||||
"MessageLog": {
|
||||
|
||||
Reference in New Issue
Block a user