chore: regenerate swagger docs
This commit is contained in:
@@ -1914,7 +1914,7 @@ const docTemplate = `{
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "Tenant ID",
|
||||
"description": "Creator User ID",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
@@ -3300,15 +3300,31 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"$ref": "#/definitions/dto.ContentItem"
|
||||
"description": "Content 内容摘要信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.ContentItem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"owner": {
|
||||
"$ref": "#/definitions/dto.AdminContentOwnerLite"
|
||||
"description": "Owner 内容作者用户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.AdminContentOwnerLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"price": {
|
||||
"$ref": "#/definitions/dto.ContentPrice"
|
||||
"description": "Price 内容价格信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.ContentPrice"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"tenant": {
|
||||
@@ -3320,6 +3336,7 @@ const docTemplate = `{
|
||||
]
|
||||
},
|
||||
"visibility_description": {
|
||||
"description": "VisibilityDescription 可见性描述(用于展示)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -3328,18 +3345,26 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"roles": {
|
||||
"description": "Roles 用户角色列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/consts.Role"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 用户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 用户名。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4017,9 +4042,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "ID 买家用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 买家用户名。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4080,15 +4107,18 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"by_status": {
|
||||
"description": "ByStatus 按状态聚合统计。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dto.OrderStatisticsRow"
|
||||
}
|
||||
},
|
||||
"total_amount_paid_sum": {
|
||||
"description": "TotalAmountPaidSum 实付总额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"total_count": {
|
||||
"description": "TotalCount 订单总数。",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
@@ -4097,15 +4127,23 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"amount_paid_sum": {
|
||||
"description": "AmountPaidSum 该状态实付总额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"count": {
|
||||
"description": "Count 该状态订单数量。",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.OrderStatus"
|
||||
"description": "Status 订单状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.OrderStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4123,12 +4161,15 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "Code 租户编码。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 租户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name 租户名称。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4260,12 +4301,15 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "Code 租户编码。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 租户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name 租户名称。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4274,10 +4318,15 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"buyer": {
|
||||
"$ref": "#/definitions/dto.OrderBuyerLite"
|
||||
"description": "Buyer 订单买家信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.OrderBuyerLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"order": {
|
||||
"description": "Using SuperOrderItem as base, extend if needed",
|
||||
"description": "Order 订单详细信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.SuperOrderItem"
|
||||
@@ -4285,7 +4334,12 @@ const docTemplate = `{
|
||||
]
|
||||
},
|
||||
"tenant": {
|
||||
"$ref": "#/definitions/dto.OrderTenantLite"
|
||||
"description": "Tenant 订单所属租户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.OrderTenantLite"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4293,24 +4347,39 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"amount_discount": {
|
||||
"description": "AmountDiscount 优惠金额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"amount_original": {
|
||||
"description": "AmountOriginal 原价金额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"amount_paid": {
|
||||
"description": "AmountPaid 实付金额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"buyer": {
|
||||
"$ref": "#/definitions/dto.OrderBuyerLite"
|
||||
"description": "Buyer 订单买家信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.OrderBuyerLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"created_at": {
|
||||
"description": "CreatedAt 创建时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"currency": {
|
||||
"$ref": "#/definitions/consts.Currency"
|
||||
"description": "Currency 币种。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.Currency"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 订单ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"items": {
|
||||
@@ -4321,27 +4390,46 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"paid_at": {
|
||||
"description": "PaidAt 支付时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"refunded_at": {
|
||||
"description": "RefundedAt 退款时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"snapshot": {
|
||||
"description": "Snapshot 订单快照,包含下单时的关键参数与定价信息,便于审计回溯。"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.OrderStatus"
|
||||
"description": "Status 订单状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.OrderStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"tenant": {
|
||||
"$ref": "#/definitions/dto.OrderTenantLite"
|
||||
"description": "Tenant 订单所属租户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.OrderTenantLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/definitions/consts.OrderType"
|
||||
"description": "Type 订单类型。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.OrderType"
|
||||
}
|
||||
]
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "UpdatedAt 更新时间(RFC3339)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4370,12 +4458,15 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"force": {
|
||||
"description": "Force 是否强制退款(忽略部分约束)。",
|
||||
"type": "boolean"
|
||||
},
|
||||
"idempotency_key": {
|
||||
"description": "IdempotencyKey 幂等键(防止重复提交)。",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Reason 退款原因说明。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4387,6 +4478,7 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"status": {
|
||||
"description": "Status 目标内容状态。",
|
||||
"enum": [
|
||||
"unpublished",
|
||||
"blocked"
|
||||
@@ -4403,10 +4495,20 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tenant_user": {
|
||||
"$ref": "#/definitions/dto.TenantUser"
|
||||
"description": "TenantUser 租户成员关系信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.TenantUser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user": {
|
||||
"$ref": "#/definitions/dto.SuperUserLite"
|
||||
"description": "User 用户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.SuperUserLite"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4414,30 +4516,42 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "CreatedAt 创建时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"roles": {
|
||||
"description": "Roles 用户角色列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/consts.Role"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 用户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "UpdatedAt 更新时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 用户名(用于识别/展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"verified_at": {
|
||||
"description": "VerifiedAt 实名认证时间(RFC3339)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4446,9 +4560,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 用户名。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4463,13 +4579,16 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"admin_user_id": {
|
||||
"description": "AdminUserID 租户管理员用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"code": {
|
||||
"description": "Code 租户编码(唯一)。",
|
||||
"type": "string",
|
||||
"maxLength": 64
|
||||
},
|
||||
"duration": {
|
||||
"description": "Duration 租户有效期(天)。",
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
7,
|
||||
@@ -4480,6 +4599,7 @@ const docTemplate = `{
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"description": "Name 租户名称。",
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
}
|
||||
@@ -4492,6 +4612,7 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"duration": {
|
||||
"description": "Duration 延长有效期(天)。",
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
7,
|
||||
@@ -4507,61 +4628,84 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"admin_users": {
|
||||
"description": "AdminUsers 租户管理员列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dto.TenantAdminUserLite"
|
||||
}
|
||||
},
|
||||
"code": {
|
||||
"description": "Code 租户编码。",
|
||||
"type": "string"
|
||||
},
|
||||
"config": {
|
||||
"description": "Replace with actual config struct if needed",
|
||||
"description": "Config 租户配置项(占位/需要结构化时替换)。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"description": "CreatedAt 创建时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"expired_at": {
|
||||
"description": "ExpiredAt 租户过期时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 租户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"income_amount_paid_sum": {
|
||||
"description": "IncomeAmountPaidSum 累计实收金额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name 租户名称。",
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"$ref": "#/definitions/dto.TenantOwnerUserLite"
|
||||
"description": "Owner 租户所有者信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.TenantOwnerUserLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
"description": "Status 租户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 租户状态描述。",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "UpdatedAt 更新时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"user_count": {
|
||||
"description": "UserCount 租户成员数量。",
|
||||
"type": "integer"
|
||||
},
|
||||
"user_id": {
|
||||
"description": "UserID 创建者用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"users": {
|
||||
"description": "Users 租户成员列表(用于详情展示)。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dto.SuperUserLite"
|
||||
}
|
||||
},
|
||||
"uuid": {
|
||||
"description": "UUID 租户UUID。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4570,9 +4714,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 用户名。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4629,7 +4775,12 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
"description": "Status 目标租户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4637,27 +4788,38 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "CreatedAt 创建时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 成员记录ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"role": {
|
||||
"description": "Role 成员角色列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/consts.TenantUserRole"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 成员状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tenant_id": {
|
||||
"description": "TenantID 租户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "UpdatedAt 更新时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"description": "UserID 用户ID。",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
@@ -4837,42 +4999,58 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"balance": {
|
||||
"description": "Balance 账户可用余额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"balance_frozen": {
|
||||
"description": "BalanceFrozen 账户冻结余额(分)。",
|
||||
"type": "integer"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "CreatedAt 创建时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"joined_tenant_count": {
|
||||
"description": "JoinedTenantCount 加入的租户数量。",
|
||||
"type": "integer"
|
||||
},
|
||||
"owned_tenant_count": {
|
||||
"description": "OwnedTenantCount 拥有的租户数量。",
|
||||
"type": "integer"
|
||||
},
|
||||
"roles": {
|
||||
"description": "Roles 用户角色列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/consts.Role"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 用户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "UpdatedAt 更新时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 用户名(用于识别/展示)。",
|
||||
"type": "string"
|
||||
},
|
||||
"verified_at": {
|
||||
"description": "VerifiedAt 实名认证时间(RFC3339)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4884,6 +5062,7 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"roles": {
|
||||
"description": "Roles 目标角色列表(至少包含 1 个)。",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
@@ -4896,12 +5075,19 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"description": "Count 该状态用户数量。",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 用户状态枚举。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"status_description": {
|
||||
"description": "StatusDescription 状态描述(用于展示)。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -4913,7 +5099,12 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "Status 目标用户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4921,39 +5112,62 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "Code 租户编码。",
|
||||
"type": "string"
|
||||
},
|
||||
"expired_at": {
|
||||
"description": "ExpiredAt 租户过期时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"joined_at": {
|
||||
"description": "JoinedAt 加入时间(RFC3339)。",
|
||||
"type": "string"
|
||||
},
|
||||
"member_status": {
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
"description": "MemberStatus 成员状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.UserStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"member_status_description": {
|
||||
"description": "MemberStatusDescription 成员状态描述。",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name 租户名称。",
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"$ref": "#/definitions/dto.TenantOwnerUserLite"
|
||||
"description": "Owner 租户所有者用户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/dto.TenantOwnerUserLite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"role": {
|
||||
"description": "Role 用户在该租户内的角色列表。",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/consts.TenantUserRole"
|
||||
}
|
||||
},
|
||||
"tenant_id": {
|
||||
"description": "TenantID 租户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"tenant_status": {
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
"description": "TenantStatus 租户状态。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.TenantStatus"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tenant_status_description": {
|
||||
"description": "TenantStatusDescription 租户状态描述。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -5032,9 +5246,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"city": {
|
||||
"description": "City 城市名称。",
|
||||
"type": "string"
|
||||
},
|
||||
"province": {
|
||||
"description": "Province 省份名称。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -5043,9 +5259,11 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"password": {
|
||||
"description": "Password 登录密码(加密传输)。",
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"description": "Username 登录用户名。",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -5054,10 +5272,16 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"description": "Token 登录后签发的 JWT。",
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"$ref": "#/definitions/quyun_v2_app_http_super_v1_dto.User"
|
||||
"description": "User 当前登录用户信息。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/quyun_v2_app_http_super_v1_dto.User"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -5065,37 +5289,55 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar": {
|
||||
"description": "Avatar 头像URL。",
|
||||
"type": "string"
|
||||
},
|
||||
"balance": {
|
||||
"description": "Balance 账户余额(元)。",
|
||||
"type": "number"
|
||||
},
|
||||
"bio": {
|
||||
"description": "Bio 用户简介。",
|
||||
"type": "string"
|
||||
},
|
||||
"birthday": {
|
||||
"description": "YYYY-MM-DD",
|
||||
"description": "Birthday 生日(YYYY-MM-DD)。",
|
||||
"type": "string"
|
||||
},
|
||||
"gender": {
|
||||
"$ref": "#/definitions/consts.Gender"
|
||||
"description": "Gender 性别(male/female/secret)。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/consts.Gender"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": {
|
||||
"description": "ID 用户ID。",
|
||||
"type": "integer"
|
||||
},
|
||||
"is_real_name_verified": {
|
||||
"description": "IsRealNameVerified 是否已实名认证。",
|
||||
"type": "boolean"
|
||||
},
|
||||
"location": {
|
||||
"$ref": "#/definitions/quyun_v2_app_http_super_v1_dto.Location"
|
||||
"description": "Location 所在地(省/市)。",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/quyun_v2_app_http_super_v1_dto.Location"
|
||||
}
|
||||
]
|
||||
},
|
||||
"nickname": {
|
||||
"description": "Nickname 用户昵称。",
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"description": "Phone 手机号。",
|
||||
"type": "string"
|
||||
},
|
||||
"points": {
|
||||
"description": "Points 用户积分。",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user