feat:完善项目管理

This commit is contained in:
henry
2021-12-16 13:22:14 +08:00
parent 8ab89cc051
commit d594725972
9 changed files with 209 additions and 1 deletions

View File

@ -1,11 +1,17 @@
package controller
import "SciencesServer/app/service"
import (
"SciencesServer/app/service"
)
type Config struct{ *service.Session }
type ConfigHandle func(session *service.Session) *Config
func (c *Config) Platform() {
}
func NewConfig() ConfigHandle {
return func(session *service.Session) *Config {
return &Config{Session: session}