From 25c573d55986e02cf5f70cc3868e2b94a4be98e2 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期五, 25 八月 2023 19:35:57 +0800
Subject: [PATCH] change package name

---
 utils/ast/ast_rollback.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/ast/ast_rollback.go b/utils/ast/ast_rollback.go
index 3ff63ec..83c91e2 100644
--- a/utils/ast/ast_rollback.go
+++ b/utils/ast/ast_rollback.go
@@ -3,13 +3,13 @@
 import (
 	"bytes"
 	"fmt"
-	"github.com/flipped-aurora/gin-vue-admin/server/global"
 	"go/ast"
 	"go/parser"
 	"go/printer"
 	"go/token"
 	"os"
 	"path/filepath"
+	"srm/global"
 )
 
 func RollBackAst(pk, model string) {
@@ -70,7 +70,7 @@
 			if gen, ok := node.(*ast.GenDecl); ok {
 				for i := range gen.Specs {
 					if imspec, ok := gen.Specs[i].(*ast.ImportSpec); ok {
-						if imspec.Path.Value == "\"github.com/flipped-aurora/gin-vue-admin/server/model/"+pk+"\"" {
+						if imspec.Path.Value == "\"srm/model/"+pk+"\"" {
 							gp = gen
 							imI = i
 							return false

--
Gitblit v1.8.0