Files
qitongxue-api/internal/model/entity/entity_settings.go
2026-09-17 17:38:45 +08:00

15 lines
500 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package entity
import "github.com/gogf/gf/v2/os/gtime"
// Settings 轻量键值配置(后台可改的全局参数)。
//
// 目前只存全局默认额度周期(quota_period_days);之所以不放在 config.yaml,
// 是因为它要能在管理端直接改,而 config.yaml 被 gitignore、只有运维能碰。
type Settings struct {
K string `json:"k"`
V string `json:"v"`
Remark string `json:"remark"`
UpdatedAt *gtime.Time `json:"updated_at"`
}