提交 e43561e0 编写于 作者: S songzhibin97

change2

上级 8918012e
......@@ -182,7 +182,7 @@ func GetColumn(tableName string, dbName string) (err error, Columns []request.Co
//}
func addAutoMoveFile(data *tplData) {
dir := filepath.Dir(data.autoCodePath)
dir := filepath.Base(filepath.Dir(data.autoCodePath))
base := filepath.Base(data.autoCodePath)
if strings.Contains(data.autoCodePath, "server") {
if strings.Contains(data.autoCodePath, "router") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册