完成 /user/fonts 功能

This commit is contained in:
eson
2023-06-01 13:05:57 +08:00
parent e1e0e5ef21
commit 5446c4123a
3 changed files with 21 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ type ServiceContext struct {
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
FsFontModel: model.NewFsFontModel(sqlx.NewMysql(c.DataSource)),