Commit 0707f3d9 authored by song's avatar song
Browse files

chore: gofmt

parent 976d6fb0
...@@ -161,7 +161,7 @@ type OpsInsertSystemMetricsInput struct { ...@@ -161,7 +161,7 @@ type OpsInsertSystemMetricsInput struct {
Upstream429Count int64 Upstream429Count int64
Upstream529Count int64 Upstream529Count int64
TokenConsumed int64 TokenConsumed int64
AccountSwitchCount int64 AccountSwitchCount int64
QPS *float64 QPS *float64
...@@ -224,8 +224,8 @@ type OpsSystemMetricsSnapshot struct { ...@@ -224,8 +224,8 @@ type OpsSystemMetricsSnapshot struct {
DBConnIdle *int `json:"db_conn_idle"` DBConnIdle *int `json:"db_conn_idle"`
DBConnWaiting *int `json:"db_conn_waiting"` DBConnWaiting *int `json:"db_conn_waiting"`
GoroutineCount *int `json:"goroutine_count"` GoroutineCount *int `json:"goroutine_count"`
ConcurrencyQueueDepth *int `json:"concurrency_queue_depth"` ConcurrencyQueueDepth *int `json:"concurrency_queue_depth"`
AccountSwitchCount *int64 `json:"account_switch_count"` AccountSwitchCount *int64 `json:"account_switch_count"`
} }
......
...@@ -299,6 +299,7 @@ func (s *SettingService) IsInvitationCodeEnabled(ctx context.Context) bool { ...@@ -299,6 +299,7 @@ func (s *SettingService) IsInvitationCodeEnabled(ctx context.Context) bool {
} }
return value == "true" return value == "true"
} }
// IsPasswordResetEnabled 检查是否启用密码重置功能 // IsPasswordResetEnabled 检查是否启用密码重置功能
// 要求:必须同时开启邮件验证 // 要求:必须同时开启邮件验证
func (s *SettingService) IsPasswordResetEnabled(ctx context.Context) bool { func (s *SettingService) IsPasswordResetEnabled(ctx context.Context) bool {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment