From 3ba9add6156de541c1ee902ba899c6a2ebab9e29 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 22 七月 2021 15:57:02 +0800
Subject: [PATCH] 优化配置

---
 java110-generator/src/main/resources/web/template_1.json |  275 +++++++++++++++++++-----------------------------------
 1 files changed, 98 insertions(+), 177 deletions(-)

diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
old mode 100644
new mode 100755
index f247163..4925140
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,212 +1,133 @@
 {
-  "templateName":"鍚堝悓淇℃伅",
-  "directories": "admin",
-  "templateCode":"contract",
-  "templateKey":"contractId",
-  "templateKeyName":"鍚堝悓ID",
-  "searchCode": "contractId",
-  "searchName": "鍚堝悓ID",
+  "templateName":"鐭俊閰嶇疆",
+  "templateCode":"smsConfig",
+  "templateKey":"smsId",
+  "templateKeyName":"鐭俊缂栧彿",
+  "searchCode": "smsId",
+  "searchName": "鐭俊缂栧彿",
+  "directories": "property",
   "conditions": [
     {
-      "name": "鍚堝悓鍚嶇О",
+      "name": "娲诲姩鏍囬",
       "inputType": "input",
-      "code": "contractName",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "鍚堝悓缂栧彿",
-      "inputType": "input",
-      "code": "contractCode",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "鍚堝悓绫诲瀷",
-      "inputType": "input",
-      "code": "contractType",
+      "code": "title",
       "whereCondition": "equal"
     }
   ],
   "columns":[
     {
-      "code": "contractName",
-      "cnCode":"鍚堝悓鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓鍚嶇О",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"鍚堝悓鍚嶇О涓嶈兘瓒呰繃64浣�",
-      "show": true
-    },
-    {
-      "code": "contractCode",
-      "cnCode":"鍚堝悓缂栧彿",
-      "desc":"閫夊~锛岃濉啓鍚堝悓缂栧彿",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"30",
-      "limitErrInfo":"鍚堝悓缂栧彿閿欒",
-      "show": true
-    },
-    {
-      "code": "contractType",
-      "cnCode":"鍚堝悓绫诲瀷",
-      "desc":"蹇呭~锛岃閫夋嫨鍚堝悓绫诲瀷",
+      "code":"smsType",
+      "cnCode":"鐭俊鍟�",
+      "desc":"蹇呭~锛岃濉啓鐭俊鍟�",
       "required":true,
       "hasDefaultValue":false,
       "inputType": "select",
-      "selectValue":"10001,10002",
-      "selectValueName":"灏忓尯鏂囧寲,鍏朵粬",
+      "selectValue":"ALI,TECENT",
+      "selectValueName":"闃块噷,鑵捐",
+      "limit":"maxin",
+      "limitParam":"1,20",
+      "limitErrInfo":"鐭俊鍟嗚秴闀夸簡",
+      "show": true
+    },
+    {
+      "code": "smsBusi",
+      "cnCode":"鐭俊涓氬姟",
+      "desc":"蹇呭~锛岃濉啓鐭俊涓氬姟",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"1001,2002",
+      "selectValueName":"娆犺垂鍌即,宸ュ崟閫氱煡",
       "limit":"num",
       "limitParam":"",
-      "limitErrInfo":"鍚堝悓绫诲瀷鏍煎紡閿欒",
+      "limitErrInfo":"鐭俊涓氬姟鏍煎紡鏈夎",
       "show": true
     },
     {
-      "code": "partyA",
-      "cnCode":"鐢叉柟",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"鐢叉柟鍚嶇О澶暱",
-      "show": true
-    },
-    {
-      "code": "partyB",
-      "cnCode":"涔欐柟",
-      "desc":"蹇呭~锛岃濉啓涔欐柟",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"涔欐柟鍚嶇О澶暱",
-      "show": true
-    },
-    {
-      "code": "aContacts",
-      "cnCode":"鐢叉柟鑱旂郴浜�",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
+      "code": "templateCode",
+      "cnCode":"鐭俊妯℃澘",
+      "desc":"蹇呭~锛岃濉啓鐭俊妯℃澘",
       "required":true,
       "hasDefaultValue":false,
       "inputType": "input",
       "limit":"maxLength",
       "limitParam":"64",
-      "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
-      "show": false
-    },
-    {
-      "code": "bContacts",
-      "cnCode":"涔欐柟鑱旂郴浜�",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
-      "show": false
-    },
-    {
-      "code": "aLink",
-      "cnCode":"鐢叉柟鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴鐢佃瘽",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"鐢叉柟鑱旂郴鐢佃瘽閿欒",
-      "show": false
-    },
-    {
-      "code": "bLink",
-      "cnCode":"涔欐柟鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓涔欐柟鑱旂郴鐢佃瘽",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"涔欐柟鑱旂郴鐢佃瘽閿欒",
-      "show": false
-    },
-    {
-      "code": "operator",
-      "cnCode":"缁忓姙浜�",
-      "desc":"蹇呭~锛岃濉啓缁忓姙浜�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"缁忓姙浜鸿秴杩�64浣�",
+      "limitErrInfo":"鐭俊妯℃澘瓒呰繃64浣�",
       "show": true
     },
     {
-      "code": "operatorLink",
-      "cnCode":"鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓缁忓姙浜鸿仈绯荤數璇�",
+      "code": "signName",
+      "cnCode":"鐭俊绛惧悕",
+      "desc":"蹇呭~锛岃濉啓鐭俊绛惧悕",
       "required":true,
       "hasDefaultValue":false,
       "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"缁忓姙浜鸿仈绯荤數璇濇牸寮忛敊璇�",
-      "show": false
+      "limit":"maxLength",
+      "limitParam":"128",
+      "limitErrInfo":"鐭俊绛惧悕瓒呰繃128浣�",
+      "show": true
     },
     {
-      "code": "amount",
-      "cnCode":"鍚堝悓閲戦",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓閲戦",
+      "code": "accessSecret",
+      "cnCode":"鐭俊绉橀挜",
+      "desc":"蹇呭~锛岃濉啓鐭俊绉橀挜",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
+      "limit":"maxLength",
+      "limitParam":"128",
+      "limitErrInfo":"鐭俊绉橀挜瓒呰繃128浣�",
+      "show": true
+    },
+    {
+      "code": "accessKeyId",
+      "cnCode":"璁块棶KEY",
+      "desc":"蹇呭~锛岃濉啓璁块棶KEY",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
+      "limit":"maxLength",
+      "limitParam":"128",
+      "limitErrInfo":"璁块棶KEY瓒呰繃128浣�",
+      "show": true
+    },
+    {
+      "code": "region",
+      "cnCode":"鍖哄煙",
+      "desc":"蹇呭~锛岃濉啓鍖哄煙",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
+      "limit":"maxLength",
+      "limitParam":"64",
+      "limitErrInfo":"鍖哄煙瓒呰繃64浣�",
+      "show": true
+    },
+    {
+      "code": "logSwitch",
+      "cnCode":"鏃ュ織",
+      "desc":"蹇呭~锛岃濉啓鏃ュ織",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"ON,OFF",
+      "selectValueName":"璁板綍,涓嶈褰�",
+      "limit":"maxLength",
+      "limitParam":"20",
+      "limitErrInfo":"鏃ュ織鏍煎紡鏈夎",
+      "show": true
+    },
+    {
+      "code":"remark",
+      "cnCode":"澶囨敞",
+      "desc":"鍙~锛岃濉啓澶囨敞",
       "required":false,
       "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"money",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓閲戦鏍煎紡閿欒锛屽1.50",
-      "show": true
-    },
-    {
-      "code": "startTime",
-      "cnCode":"寮�濮嬫椂闂�",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓寮�濮嬫椂闂�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"dateTime",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓寮�濮嬫椂闂存牸寮忛敊璇�",
-      "show": true
-    },
-    {
-      "code": "endTime",
-      "cnCode":"缁撴潫鏃堕棿",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓缁撴潫鏃堕棿",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"dateTime",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓缁撴潫鏃堕棿鏍煎紡閿欒",
-      "show": true
-    },
-    {
-      "code": "signingTime",
-      "cnCode":"绛捐鏃堕棿",
-      "desc":"閫夊~锛岃濉啓鍚堝悓绛捐鏃堕棿",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"dateTime",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓绛捐鏃堕棿鏍煎紡閿欒",
+      "defaultValue":"",
+      "inputType":"input",
+      "limit":"maxLength",
+      "limitParam":"200",
+      "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
       "show": false
     }
   ]

--
Gitblit v1.8.0