feat: add tenant login IP whitelist management
This commit is contained in:
@@ -57,3 +57,14 @@ type ThirdPartyReq struct {
|
||||
type ThirdPartyRes struct {
|
||||
Values map[string]string `json:"values" dc:"配置值"`
|
||||
}
|
||||
|
||||
type TenantLoginIPWhitelistReq struct {
|
||||
g.Meta `path:"/internal/im-config/tenants/by-id/{id}/login-ip-whitelist" method:"get" tags:"IM内部配置" summary:"获取租户渠道登录IP白名单"`
|
||||
Id int64 `json:"id" in:"path" dc:"租户ID"`
|
||||
}
|
||||
|
||||
type TenantLoginIPWhitelistRes struct {
|
||||
TenantId int64 `json:"tenant_id" dc:"租户ID"`
|
||||
AppList []string `json:"app_list" dc:"APP登录IP白名单"`
|
||||
WebList []string `json:"web_list" dc:"Web登录IP白名单"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user