更新一次

This commit is contained in:
eson
2023-06-01 18:35:09 +08:00
parent 08e6f00ff5
commit 2f01aa24c4
14 changed files with 495 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ type ServiceContext struct {
Config config.Config
FsFontModel model.FsFontModel
FsCanteenTypeModel model.FsCanteenTypeModel
FsUserModel model.FsUserModel
}
func NewServiceContext(c config.Config) *ServiceContext {
@@ -19,5 +20,6 @@ func NewServiceContext(c config.Config) *ServiceContext {
Config: c,
FsFontModel: model.NewFsFontModel(conn),
FsCanteenTypeModel: model.NewFsCanteenTypeModel(conn),
FsUserModel: model.NewFsUserModel(conn),
}
}