feat: 代码生成

This commit is contained in:
Blizzard
2026-04-28 10:29:02 +08:00
parent 7e282b36d7
commit b343856b58
38 changed files with 2199 additions and 51 deletions
+8
View File
@@ -5,6 +5,8 @@ import (
"sundynix-go/global"
"sundynix-go/model/system"
"sundynix-go/model/order"
"go.uber.org/zap"
"gorm.io/gorm"
)
@@ -37,6 +39,12 @@ func MigrateTable() {
system.Menu{},
system.SysOperationRecord{},
system.Oss{},
order.Order{},
order.Refund{},
order.Stock{},
)
if err != nil {
global.Logger.Error("Migrate table failed,err:", zap.Error(err))