From d7373b2a485e77c54c253932f98ef487cc4edfc7 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 30 八月 2023 20:19:40 +0800
Subject: [PATCH] fix

---
 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