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