mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 12:13:46 +08:00
feat: vue-mobile => 完成移动端聊天配置功能
This commit is contained in:
@@ -51,6 +51,9 @@ func (s *AppServer) Init(debug bool) {
|
||||
s.Engine.Use(authorizeMiddleware(s))
|
||||
s.Engine.Use(errorHandler)
|
||||
//gob.Register(model.User{})
|
||||
|
||||
// 添加静态资源访问
|
||||
s.Engine.Static("/static", s.AppConfig.StaticDir)
|
||||
}
|
||||
|
||||
func (s *AppServer) Run(db *gorm.DB) error {
|
||||
|
||||
Reference in New Issue
Block a user