Browse Source

♻️ 重构 config.json

冷冷 9 months ago
parent
commit
bf1e6543fd
4 changed files with 94 additions and 27 deletions
  1. 2 2
      .github/workflows/mirror-repository.yml
  2. 63 0
      .gitignore
  3. 2 2
      README.md
  4. 27 23
      config.json

+ 2 - 2
.github/workflows/mirror-repository.yml

@@ -16,6 +16,6 @@ jobs:
           fetch-depth: 0
       - uses: yesolutions/mirror-action@master
         with:
-          REMOTE: 'https://atomgit.com/log4j/CGTM.git'
-          GIT_USERNAME: lltx
+          REMOTE: 'https://git.pig4cloud.com/pig/CGTM.git'
+          GIT_USERNAME: lengleng
           GIT_PASSWORD: ${{ secrets.GIT_GOGS_PASSWORD }}

+ 63 - 0
.gitignore

@@ -0,0 +1,63 @@
+# 忽略匹配下列规则的Git 提交 V2.1.0
+### gradle ###
+.gradle
+/build/
+!gradle/wrapper/gradle-wrapper.jar
+
+### STS ###
+.settings/
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+bin/
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+*.lock
+rebel.xml
+
+### NetBeans ###
+nbproject/private/
+build/
+nbbuild/
+nbdist/
+.nb-gradle/
+
+### maven ###
+target/
+*.war
+*.ear
+*.zip
+*.tar
+*.tar.gz
+
+### logs ####
+/logs/
+*.log
+
+### temp ignore ###
+*.cache
+*.diff
+*.patch
+*.tmp
+*.java~
+*.properties~
+*.xml~
+sessionStore
+
+### system ignore ###
+.DS_Store
+Thumbs.db
+Servers
+.metadata
+upload
+gen_code
+
+### node ###
+node_modules

+ 2 - 2
README.md

@@ -42,9 +42,9 @@ CGTM在[AGPL 3.0 许可证](https://github.com/pig-mesh/CGTM/blob/master/LICENSE
 
 ## 支持
 
-如果您遇到任何问题或对CGTM有任何疑问,请通过[sw@pigx.top](mailto:sw@pigx.top)与我们联系。我们将提供帮助,并确保平台的正常运行。
+如果您遇到任何问题或对CGTM有任何疑问,请通过[sw@pigx.vip](mailto:sw@pigx.top)与我们联系。我们将提供帮助,并确保平台的正常运行。
 
 让我们共同合作,通过CGTM使编码更高效、更愉悦!
 
 
-**免责声明:** 请注意,CGTM是一个社区驱动的平台,不对提供的模板功能或准确性负责。用户在将生成的代码应用于项目之前,请务必仔细审查和验证。
+**免责声明:** 请注意,CGTM是一个社区驱动的平台,不对提供的模板功能或准确性负责。用户在将生成的代码应用于项目之前,请务必仔细审查和验证。

+ 27 - 23
config.json

@@ -1,24 +1,28 @@
 {
-    "8":{
-        "support":[
-            "52"
-        ],
-        "单表增删改查":{
-
-        },
-        "主子表表增删改查":{
-
-        }
-    },
-    "17":{
-        "support":[
-            "52"
-        ],
-        "单表增删改查":{
-
-        },
-        "主子表表增删改查":{
-
-        }
-    }
-}
+  "单表增删改查": [
+    "temps/Controller",
+    "temps/Service",
+    "temps/ServiceImpl",
+    "temps/实体",
+    "temps/Mapper",
+    "temps/Mapper.xml",
+    "temps/权限菜单",
+    "temps/api.ts",
+    "temps/表格",
+    "temps/表单"
+  ],
+  "主子表增删改查": [
+    "temps/Service",
+    "temps/ServiceImpl",
+    "temps/实体",
+    "temps/Mapper",
+    "temps/Mapper.xml",
+    "temps/权限菜单",
+    "temps/api.ts",
+    "temps/子实体",
+    "temps/主子Contoller",
+    "temps/主子表单",
+    "temps/主子表格",
+    "temps/子Mapper"
+  ]
+}