feat:完善信息

This commit is contained in:
henry
2021-10-27 13:27:01 +08:00
parent d4ab041711
commit 70ba3078b3
20 changed files with 717 additions and 68 deletions

View File

@ -0,0 +1,19 @@
package controller
import "SciencesServer/app/service"
type Index struct {
*service.Session
local string
}
type IndexHandle func(session *service.Session, local string) *Index
func NewIndex() IndexHandle {
return func(session *service.Session, local string) *Index {
return &Index{
Session: session,
local: local,
}
}
}