feat: 徽章api
This commit is contained in:
@@ -53,7 +53,9 @@ func MigrateTable() {
|
||||
plant.ClassifyRecord{}, //植物识别记录
|
||||
|
||||
plant.LevelConfig{}, //等级配置
|
||||
plant.BadgeConfig{}, //徽章配置
|
||||
plant.UserProfile{}, //用户资料
|
||||
plant.UserBadge{}, //用户徽章
|
||||
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
@@ -56,6 +56,7 @@ func Routers() {
|
||||
plantGroup.InitWikiRouter(NeedAuthGroup) //百科
|
||||
plantGroup.InitOcrRouter(NeedAuthGroup) // ocr识别
|
||||
plantGroup.InitLevelConfigRouter(NeedAuthGroup) //等级配置
|
||||
plantGroup.InitBadgeConfigRouter(NeedAuthGroup) //徽章配置
|
||||
plantGroup.InitUserProfileRouter(NeedAuthGroup) //用户资料
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user