From 4af9a94256e5109a6b09a6e3e61f72c43e80db50 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 28 八月 2023 11:48:07 +0800 Subject: [PATCH] update --- utils/ast/ast_gorm.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/ast/ast_gorm.go b/utils/ast/ast_gorm.go index feadc2f..86b57b1 100644 --- a/utils/ast/ast_gorm.go +++ b/utils/ast/ast_gorm.go @@ -12,7 +12,7 @@ // 鑷姩涓� gorm.go 娉ㄥ唽涓�涓嚜鍔ㄨ縼绉� func AddRegisterTablesAst(path, funcName, pk, dbName, model string) { - modelPk := fmt.Sprintf("github.com/flipped-aurora/gin-vue-admin/server/model/%s", pk) + modelPk := fmt.Sprintf("srm/model/%s", pk) src, err := os.ReadFile(path) if err != nil { fmt.Println(err) -- Gitblit v1.8.0