新功能(#102): 新增邀请记录接口并删除旧邀请销售接口
Build docker and publish / build (20.15.1) (push) Failing after 10m56s
Build docker and publish / build (20.15.1) (pull_request) Successful in 8m50s

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-05-27 22:50:16 -07:00
parent f452f80100
commit 197fed7d12
11 changed files with 426 additions and 197 deletions
+26 -22
View File
@@ -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": {