From a9193cfd5ae8d7fa7e0824b5f77e4deb72695dae Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 16 五月 2020 22:29:00 +0800
Subject: [PATCH] 合并代码

---
 java110-code-generator/src/main/resources/web/template_1.json |  101 ++++++++++++++++++++------------------------------
 1 files changed, 41 insertions(+), 60 deletions(-)

diff --git a/java110-code-generator/src/main/resources/web/template_1.json b/java110-code-generator/src/main/resources/web/template_1.json
index 359273f..f9c92a0 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,91 +1,72 @@
 {
-  "templateName":"瀹℃牳浜哄憳",
-  "templateCode":"resourceStore",
-  "templateKey":"resId",
-  "templateKeyName":"鐗╁搧ID",
-  "searchCode": "resName",
-  "searchName": "鐗╁搧鍚嶇О",
+  "templateName":"灏忕▼搴忕鐞�",
+  "templateCode":"smallWeChat",
+  "templateKey":"weChatId",
+  "templateKeyName":"缂栫爜",
+  "searchCode": "name",
+  "searchName": "灏忕▼搴忓悕绉�",
   "conditions": [
-
     {
-      "name": "鐗╁搧ID",
+      "name": "灏忕▼搴忓悕绉�",
       "inputType": "input",
-      "code": "resId",
+      "code": "name",
       "whereCondition": "equal"
     },
     {
-      "name": "鐗╁搧鍚嶇О",
+      "name": "appId",
       "inputType": "input",
-      "code": "resName",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "鐗╁搧缂栫爜",
-      "inputType": "input",
-      "code": "resCode",
+      "code": "appId",
       "whereCondition": "equal"
     }
   ],
   "columns":[
     {
-      "code":"resName",
-      "cnCode":"鐗╁搧鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓鐗╁搧鍚嶇О",
+      "code":"name",
+      "cnCode":"灏忕▼搴忓悕绉�",
+      "desc":"蹇呭~锛岃濉啓灏忕▼搴忓悕绉�",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
+      "inputType": "input",
+      "limit":"max",
+      "limitParam":"1,100",
+      "limitErrInfo":"灏忕▼搴忓悕绉颁笉鑳借秴杩�100浣�",
+      "show": true
+    },
+    {
+      "code": "appId",
+      "cnCode":"appId",
+      "desc":"蹇呭~锛岃濉啓appId",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
       "limit":"maxin",
-      "limitParam":"2,100",
-      "limitErrInfo":"鐗╁搧鍚嶇О闀垮害涓�2鑷�100",
+      "limitParam":"1,100",
+      "limitErrInfo":"appId涓嶈兘瓒呰繃100浣�",
       "show": true
     },
     {
-      "code":"resCode",
-      "cnCode":"鐗╁搧缂栫爜",
-      "desc":"蹇呭~锛岃濉啓鐗╁搧缂栫爜",
+      "code":"appSecret",
+      "cnCode":"搴旂敤瀵嗛挜",
+      "desc":"蹇呭~锛岃濉啓搴旂敤瀵嗛挜",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
+      "inputType": "input",
       "limit":"maxin",
-      "limitParam":"2,50",
-      "limitErrInfo":"鐗╁搧缂栫爜蹇呴』鍦�2鑷�50瀛楃涔嬮棿",
+      "limitParam":"1,200",
+      "limitErrInfo":"搴旂敤瀵嗛挜涓嶈兘瓒呰繃200涓瓧绗�",
       "show": true
     },
     {
-      "code":"price",
-      "cnCode":"鐗╁搧浠锋牸",
-      "desc":"蹇呭~锛岃濉啓鐗╁搧浠锋牸",
+      "code": "payPassword",
+      "cnCode":"鏀粯瀵嗙爜",
+      "desc":"蹇呭~锛岃濉啓鏀粯瀵嗙爜",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"money",
-      "limitParam":"",
-      "limitErrInfo":"鐗╁搧浠锋牸鏍煎紡閿欒",
+      "inputType": "input",
+      "limit":"maxin",
+      "limitParam":"1,200",
+      "limitErrInfo":"鏀粯瀵嗙爜涓嶈兘瓒呰繃200涓瓧绗�",
       "show": true
-    },
-    {
-      "code":"stock",
-      "cnCode":"鐗╁搧搴撳瓨",
-      "desc":"蹇呭~锛岃濉啓鐗╁搧搴撳瓨",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"鐗╁搧搴撳瓨涓嶆槸鏈夋晥鏁板瓧",
-      "show": true
-    },
-    {
-      "code":"description",
-      "cnCode":"鎻忚堪",
-      "desc":"蹇呭~锛岃濉啓鎻忚堪",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"textarea",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"鎻忚堪涓嶈兘涓虹┖",
-      "show": false
     }
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0