mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 02:24:05 +08:00
调整 修改认证方式为 OAuth2 鉴权
This commit is contained in:
@@ -24,6 +24,7 @@ func AutoMigrate() error {
|
||||
&models.API{},
|
||||
&models.Variable{},
|
||||
&models.Function{},
|
||||
&models.RefreshToken{},
|
||||
); err != nil {
|
||||
logrus.WithError(err).Error("AutoMigrate 执行失败")
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user