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 |  171 +++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 107 insertions(+), 64 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 f891dd1..4925140
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,91 +1,134 @@
 {
-  "templateName": "鎷煎洟璁剧疆",
-  "directories": "goods",
-  "templateCode": "groupBuySetting",
-  "templateKey": "settingId",
-  "templateKeyName": "璁剧疆ID",
-  "searchCode": "settingId",
-  "searchName": "璁剧疆ID",
+  "templateName":"鐭俊閰嶇疆",
+  "templateCode":"smsConfig",
+  "templateKey":"smsId",
+  "templateKeyName":"鐭俊缂栧彿",
+  "searchCode": "smsId",
+  "searchName": "鐭俊缂栧彿",
+  "directories": "property",
   "conditions": [
     {
-      "name": "鎷煎洟鍚嶇О",
+      "name": "娲诲姩鏍囬",
       "inputType": "input",
-      "code": "groupBuyName",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "鎷煎洟鏃舵晥",
-      "inputType": "input",
-      "code": "validHours",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "璁剧疆ID",
-      "inputType": "input",
-      "code": "settingId",
+      "code": "title",
       "whereCondition": "equal"
     }
   ],
-  "columns": [
+  "columns":[
     {
-      "code": "groupBuyName",
-      "cnCode": "鎷煎洟鍚嶇О",
-      "desc": "蹇呭~锛岃濉啓鎷煎洟鍚嶇О",
-      "required": true,
-      "hasDefaultValue": false,
-      "inputType": "input",
-      "limit": "maxLength",
-      "limitParam": "256",
-      "limitErrInfo": "鎷煎洟鍚嶇О涓嶈兘瓒呰繃256浣�",
+      "code":"smsType",
+      "cnCode":"鐭俊鍟�",
+      "desc":"蹇呭~锛岃濉啓鐭俊鍟�",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"ALI,TECENT",
+      "selectValueName":"闃块噷,鑵捐",
+      "limit":"maxin",
+      "limitParam":"1,20",
+      "limitErrInfo":"鐭俊鍟嗚秴闀夸簡",
       "show": true
     },
     {
-      "code": "groupBuyDesc",
-      "cnCode": "鎷煎洟绠�浠�",
-      "desc": "蹇呭~锛岃濉啓鎷煎洟绠�浠�",
-      "required": true,
-      "hasDefaultValue": false,
-      "inputType": "input",
-      "limit": "maxLength",
-      "limitParam": "500",
-      "limitErrInfo": "鎷煎洟绠�浠嬩笉鑳借秴杩�500浣�",
+      "code": "smsBusi",
+      "cnCode":"鐭俊涓氬姟",
+      "desc":"蹇呭~锛岃濉啓鐭俊涓氬姟",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"1001,2002",
+      "selectValueName":"娆犺垂鍌即,宸ュ崟閫氱煡",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"鐭俊涓氬姟鏍煎紡鏈夎",
       "show": true
     },
     {
-      "code": "validHours",
-      "cnCode": "鎷煎洟鏃舵晥",
-      "desc": "蹇呭~锛岃濉啓鎷煎洟鏃舵晥",
-      "required": true,
-      "hasDefaultValue": false,
+      "code": "templateCode",
+      "cnCode":"鐭俊妯℃澘",
+      "desc":"蹇呭~锛岃濉啓鐭俊妯℃澘",
+      "required":true,
+      "hasDefaultValue":false,
       "inputType": "input",
-      "limit": "num",
-      "limitParam": "",
-      "limitErrInfo": "鎷煎洟鏃舵晥涓嶆槸鏈夋晥鏁板瓧",
+      "limit":"maxLength",
+      "limitParam":"64",
+      "limitErrInfo":"鐭俊妯℃澘瓒呰繃64浣�",
       "show": true
     },
     {
-      "code": "startTime",
-      "cnCode": "寮�濮嬫椂闂�",
-      "desc": "蹇呭~锛岃濉啓寮�濮嬫椂闂�",
-      "required": true,
-      "hasDefaultValue": false,
+      "code": "signName",
+      "cnCode":"鐭俊绛惧悕",
+      "desc":"蹇呭~锛岃濉啓鐭俊绛惧悕",
+      "required":true,
+      "hasDefaultValue":false,
       "inputType": "input",
-      "limit": "datetime",
-      "limitParam": "",
-      "limitErrInfo": "寮�濮嬫椂闂翠笉鏄湁鏁堟棩鏈�",
+      "limit":"maxLength",
+      "limitParam":"128",
+      "limitErrInfo":"鐭俊绛惧悕瓒呰繃128浣�",
       "show": true
     },
     {
-      "code": "endTime",
-      "cnCode": "缁撴潫鏃堕棿",
-      "desc": "蹇呭~锛岃濉啓缁撴潫鏃堕棿",
-      "required": true,
-      "hasDefaultValue": false,
+      "code": "accessSecret",
+      "cnCode":"鐭俊绉橀挜",
+      "desc":"蹇呭~锛岃濉啓鐭俊绉橀挜",
+      "required":true,
+      "hasDefaultValue":false,
       "inputType": "input",
-      "limit": "datetime",
-      "limitParam": "",
-      "limitErrInfo": "缁撴潫鏃堕棿涓嶆槸鏈夋晥鏃ユ湡",
+      "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,
+      "defaultValue":"",
+      "inputType":"input",
+      "limit":"maxLength",
+      "limitParam":"200",
+      "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
+      "show": false
     }
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0