🎨 新增设置用户vip接口,优化机器人查询接口&修改跨域配置
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
package initialize
|
||||
|
||||
import (
|
||||
"git.echol.cn/loser/lckt/model/app"
|
||||
"git.echol.cn/loser/lckt/model/article"
|
||||
"git.echol.cn/loser/lckt/model/bot"
|
||||
"git.echol.cn/loser/lckt/model/category"
|
||||
"git.echol.cn/loser/lckt/model/notice"
|
||||
"git.echol.cn/loser/lckt/model/user"
|
||||
"git.echol.cn/loser/lckt/model/vip"
|
||||
"os"
|
||||
|
||||
"git.echol.cn/loser/lckt/global"
|
||||
@@ -63,6 +70,16 @@ func RegisterTables() {
|
||||
example.ExaFileChunk{},
|
||||
example.ExaFileUploadAndDownload{},
|
||||
example.ExaAttachmentCategory{},
|
||||
|
||||
app.TeacherApply{},
|
||||
app.Order{},
|
||||
app.Banner{},
|
||||
bot.Bot{},
|
||||
user.User{},
|
||||
article.Article{},
|
||||
category.Category{},
|
||||
notice.Notice{},
|
||||
vip.Vip{},
|
||||
)
|
||||
if err != nil {
|
||||
global.GVA_LOG.Error("register table failed", zap.Error(err))
|
||||
|
||||
Reference in New Issue
Block a user