PUT /admin/tenants/{id}/branding
更新指定租户的品牌定制配置
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: dto.UpdateBrandingRequest
| Field | Type | Required | Example | Constraints | Description |
company_name |
string |
No |
|
|
公司名称 |
custom_css |
string |
No |
|
|
自定义CSS |
email_sender_address |
string |
No |
|
|
邮件发送者地址 |
email_sender_name |
string |
No |
|
|
邮件发送者名称 |
favicon_url |
string |
No |
https://... |
|
Favicon URL |
login_page_description |
string |
No |
|
|
登录页描述 |
login_page_title |
string |
No |
|
|
登录页标题 |
logo_url |
string |
No |
https://... |
|
Logo URL |
primary_color |
string |
No |
#0066CC |
|
主题色 |
privacy_policy_url |
string |
No |
|
|
隐私政策URL |
secondary_color |
string |
No |
#F5F5F5 |
|
辅助色 |
terms_of_service_url |
string |
No |
|
|
服务条款URL |
Referenced Schemas
dto.BrandingDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.BrandingResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.BrandingResponse
租户品牌定制配置
| Field | Type | Required | Example | Constraints | Description |
company_name |
string |
No |
|
|
公司名称 |
created_at |
string |
No |
2026-01-01T00:00:00Z |
|
创建时间 |
custom_css |
string |
No |
|
|
自定义CSS |
email_sender_address |
string |
No |
|
|
邮件发送者地址 |
email_sender_name |
string |
No |
|
|
邮件发送者名称 |
favicon_url |
string |
No |
https://... |
|
Favicon URL |
login_page_description |
string |
No |
|
|
登录页描述 |
login_page_title |
string |
No |
|
|
登录页标题 |
logo_url |
string |
No |
https://... |
|
Logo URL |
primary_color |
string |
No |
#0066CC |
|
主题色 |
privacy_policy_url |
string |
No |
|
|
隐私政策URL |
secondary_color |
string |
No |
#F5F5F5 |
|
辅助色 |
tenant_id |
string |
No |
tnt_abc123 |
|
租户ID |
terms_of_service_url |
string |
No |
|
|
服务条款URL |
updated_at |
string |
No |
2026-01-01T00:00:00Z |
|
更新时间 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|