feat(admin): complete settings APIs and password update flow
This commit is contained in:
@@ -56,6 +56,7 @@ func main() {
|
||||
// 3) 自动建表/迁移(开发阶段很方便;生产环境可改为手动迁移)
|
||||
if err := database.AutoMigrate(
|
||||
&adminmodule.Admin{},
|
||||
&adminmodule.SystemConfig{},
|
||||
&model.MiniProgram{},
|
||||
&model.User{},
|
||||
&model.UserMembership{},
|
||||
|
||||
Reference in New Issue
Block a user