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 |  156 ++++++++++++---------------------------------------
 1 files changed, 37 insertions(+), 119 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 76105ab..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,154 +1,72 @@
 {
-  "templateName":"鏈嶅姟瀹炵幇",
-  "templateCode":"serviceImpl",
-  "templateKey":"serviceBusinessId",
-  "templateKeyName":"鏈嶅姟瀹炵幇ID",
+  "templateName":"灏忕▼搴忕鐞�",
+  "templateCode":"smallWeChat",
+  "templateKey":"weChatId",
+  "templateKeyName":"缂栫爜",
   "searchCode": "name",
-  "searchName": "鏈嶅姟鍚嶇О",
+  "searchName": "灏忕▼搴忓悕绉�",
   "conditions": [
     {
-      "name": "涓氬姟绫诲瀷",
-      "inputType": "input",
-      "code": "businessTypeCd",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "涓氬姟鍚嶇О",
+      "name": "灏忕▼搴忓悕绉�",
       "inputType": "input",
       "code": "name",
-      "whereCondition": "like"
-    },
-    {
-      "name": "璋冪敤鏂瑰紡",
-      "inputType": "select",
-      "code": "invokeType",
-      "selectValue":"1,2,3",
-      "selectValueName":"寰湇鍔OST鏂瑰紡,webservice鏂瑰紡,http post鏂瑰紡",
       "whereCondition": "equal"
     },
     {
-      "name": "kafka涓婚",
+      "name": "appId",
       "inputType": "input",
-      "code": "messageTopic",
-      "whereCondition": "like"
+      "code": "appId",
+      "whereCondition": "equal"
     }
   ],
   "columns":[
     {
-      "code":"serviceBusinessId",
-      "cnCode":"鏈嶅姟瀹炵幇ID",
-      "desc":"蹇呭~锛岃濉啓搴旂敤ID",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxLength",
-      "limitParam":"50",
-      "limitErrInfo":"鏈嶅姟瀹炵幇ID涓嶈兘瓒呰繃50",
-      "show": true
-    },
-    {
-      "code":"businessTypeCd",
-      "cnCode":"涓氬姟绫诲瀷",
-      "desc":"蹇呭~锛岃濉啓涓氬姟绫诲瀷",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxin",
-      "limitParam":"2,50",
-      "limitErrInfo":"涓氬姟绫诲瀷蹇呴』鍦�2鑷�50瀛楃涔嬮棿",
-      "show": true
-    },
-    {
       "code":"name",
-      "cnCode":"涓氬姟鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓涓氬姟鍚嶇О",
+      "cnCode":"灏忕▼搴忓悕绉�",
+      "desc":"蹇呭~锛岃濉啓灏忕▼搴忓悕绉�",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxin",
-      "limitParam":"2,50",
-      "limitErrInfo":"涓氬姟绫诲瀷蹇呴』鍦�2鑷�50瀛楃涔嬮棿",
+      "inputType": "input",
+      "limit":"max",
+      "limitParam":"1,100",
+      "limitErrInfo":"灏忕▼搴忓悕绉颁笉鑳借秴杩�100浣�",
       "show": true
     },
     {
-      "code":"invokeType",
-      "cnCode":"璋冪敤绫诲瀷",
-      "desc":"蹇呭~锛岃濉啓璋冪敤绫诲瀷",
+      "code": "appId",
+      "cnCode":"appId",
+      "desc":"蹇呭~锛岃濉啓appId",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"select",
-      "selectValue":"1,2,3",
-      "selectValueName":"寰湇鍔OST鏂瑰紡,webservice鏂瑰紡,http post鏂瑰紡",
+      "inputType": "input",
       "limit":"maxin",
-      "limitParam":"1,4",
-      "limitErrInfo":"璋冪敤绫诲瀷閿欒",
+      "limitParam":"1,100",
+      "limitErrInfo":"appId涓嶈兘瓒呰繃100浣�",
       "show": true
     },
-
     {
-      "code":"url",
-      "cnCode":"璋冪敤鍦板潃",
-      "desc":"蹇呭~锛岃濉啓璋冪敤鍦板潃锛屼负mapping 琛ㄤ腑domain涓篋OMAIN.COMMON鏄犲皠key",
+      "code":"appSecret",
+      "cnCode":"搴旂敤瀵嗛挜",
+      "desc":"蹇呭~锛岃濉啓搴旂敤瀵嗛挜",
       "required":true,
-      "hasDefaultValue":true,
-      "defaultValue":"1000",
-      "inputType":"input",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"璋冪敤娆℃暟閿欒",
-      "show": false
-    },
-    {
-      "code":"messageTopic",
-      "cnCode":"kafka涓婚",
-      "desc":"鍙~锛岃濉啓kafka涓婚",
-      "required":false,
       "hasDefaultValue":false,
-      "defaultValue":"",
-      "inputType":"input",
-      "limit":"maxLength",
-      "limitParam":"50",
-      "limitErrInfo":"kafka涓婚涓嶈兘瓒呰繃50",
-      "show": false
+      "inputType": "input",
+      "limit":"maxin",
+      "limitParam":"1,200",
+      "limitErrInfo":"搴旂敤瀵嗛挜涓嶈兘瓒呰繃200涓瓧绗�",
+      "show": true
     },
     {
-      "code":"timeout",
-      "cnCode":"瓒呮椂鏃堕棿",
-      "desc":"蹇呭~锛岃濉啓瓒呮椂鏃堕棿",
+      "code": "payPassword",
+      "cnCode":"鏀粯瀵嗙爜",
+      "desc":"蹇呭~锛岃濉啓鏀粯瀵嗙爜",
       "required":true,
-      "hasDefaultValue":true,
-      "defaultValue":60,
-      "inputType":"input",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"瓒呮椂鏃堕棿蹇呴』涓烘暟瀛�",
-      "show": false
-    },
-    {
-      "code":"retryCount",
-      "cnCode":"閲嶈瘯娆℃暟",
-      "desc":"蹇呭~锛岃濉啓閲嶈瘯娆℃暟",
-      "required":true,
-      "hasDefaultValue":true,
-      "defaultValue":3,
-      "inputType":"input",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�",
-      "show": false
-    },
-    {
-      "code":"description",
-      "cnCode":"鎻忚堪",
-      "desc":"鍙~锛岃濉啓鎻忚堪",
-      "required":false,
       "hasDefaultValue":false,
-      "defaultValue":"",
-      "inputType":"textarea",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
-      "show": false
+      "inputType": "input",
+      "limit":"maxin",
+      "limitParam":"1,200",
+      "limitErrInfo":"鏀粯瀵嗙爜涓嶈兘瓒呰繃200涓瓧绗�",
+      "show": true
     }
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0