feat:完善信息
This commit is contained in:
13
app/api/website/controller/config.go
Normal file
13
app/api/website/controller/config.go
Normal file
@ -0,0 +1,13 @@
|
||||
package controller
|
||||
|
||||
import "SciencesServer/app/service"
|
||||
|
||||
type Config struct{ *service.Session }
|
||||
|
||||
type ConfigHandle func(session *service.Session) *Config
|
||||
|
||||
func NewConfig() ConfigHandle {
|
||||
return func(session *service.Session) *Config {
|
||||
return &Config{Session: session}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user