You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package dto
|
|
|
|
|
|
|
|
type SettingInfo struct {
|
|
|
|
UserName string `json:"userName"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
|
|
|
|
SessionTimeout string `json:"sessionTimeout"`
|
|
|
|
LocalTime string `json:"localTime"`
|
|
|
|
|
|
|
|
PanelName string `json:"panelName"`
|
|
|
|
Theme string `json:"theme"`
|
|
|
|
Language string `json:"language"`
|
|
|
|
|
|
|
|
ServerPort string `json:"serverPort"`
|
|
|
|
SecurityEntrance string `json:"securityEntrance"`
|
|
|
|
PasswordTimeOut string `json:"passwordTimeOut"`
|
|
|
|
ComplexityVerification string `json:"complexityVerification"`
|
|
|
|
MFAStatus string `json:"mfaStatus"`
|
|
|
|
|
|
|
|
MonitorStatus string `json:"monitorStatus"`
|
|
|
|
MonitorStoreDays string `json:"monitorStoreDays"`
|
|
|
|
|
|
|
|
MessageType string `json:"messageType"`
|
|
|
|
EmailVars string `json:"emailVars"`
|
|
|
|
WeChatVars string `json:"weChatVars"`
|
|
|
|
DingVars string `json:"dingVars"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SettingUpdate struct {
|
|
|
|
Key string `json:"key" validate:"required"`
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|