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 | 189 ++++++++++++++++++++++++++++++-----------------
1 files changed, 120 insertions(+), 69 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 fbcba99..4925140
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,83 +1,134 @@
{
- "templateName": "淇℃伅澶х被",
+ "templateName":"鐭俊閰嶇疆",
+ "templateCode":"smsConfig",
+ "templateKey":"smsId",
+ "templateKeyName":"鐭俊缂栧彿",
+ "searchCode": "smsId",
+ "searchName": "鐭俊缂栧彿",
"directories": "property",
- "templateCode": "activitiesType",
- "templateKey": "typeCd",
- "templateKeyName": "澶х被缂栫爜",
- "searchCode": "typeCd",
- "searchName": "澶х被缂栫爜",
"conditions": [
{
- "name": "澶х被缂栫爜",
+ "name": "娲诲姩鏍囬",
"inputType": "input",
- "code": "typeCd",
- "whereCondition": "equal"
- },
- {
- "name": "澶х被鍚嶇О",
- "inputType": "input",
- "code": "typeName",
- "whereCondition": "equal"
- },
- {
- "name": "鏄惁鏄剧ず",
- "inputType": "select",
- "selectValue":"Y,N",
- "selectValueName":"鏄�,鍚�",
- "code": "defalutShow",
+ "code": "title",
"whereCondition": "equal"
}
],
- "columns": [
+ "columns":[
{
- "code": "typeName",
- "cnCode": "澶х被鍚嶇О",
- "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "100",
- "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
- "show": true
- },
- {
- "code": "typeDesc",
- "cnCode": "澶х被鎻忚堪",
- "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
- "required": false,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "500",
- "limitErrInfo": "鎻忚堪瓒呰繃500浣�",
- "show": true
- },
- {
- "code": "seq",
- "cnCode": "鏄剧ず搴忓彿",
- "desc": "蹇呭~锛岃濉啓鏄剧ず搴忓彿",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "鏄剧ず搴忓彿涓嶆槸鏈夋晥鏁板瓧",
- "show": true
- },
- {
- "code": "defalutShow",
- "cnCode": "鏄惁鏄剧ず",
- "desc": "蹇呭~锛岃濉啓鏄惁鏄剧ず",
- "required": true,
- "hasDefaultValue": false,
+ "code":"smsType",
+ "cnCode":"鐭俊鍟�",
+ "desc":"蹇呭~锛岃濉啓鐭俊鍟�",
+ "required":true,
+ "hasDefaultValue":false,
"inputType": "select",
- "selectValue": "Y,N",
- "selectValueName": "鏄�,鍚�",
- "limit": "maxLength",
- "limitParam": "2",
- "limitErrInfo": "鏄惁鏄剧ず鏍煎紡閿欒",
+ "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":"鐭俊涓氬姟鏍煎紡鏈夎",
+ "show": true
+ },
+ {
+ "code": "templateCode",
+ "cnCode":"鐭俊妯℃澘",
+ "desc":"蹇呭~锛岃濉啓鐭俊妯℃澘",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"maxLength",
+ "limitParam":"64",
+ "limitErrInfo":"鐭俊妯℃澘瓒呰繃64浣�",
+ "show": true
+ },
+ {
+ "code": "signName",
+ "cnCode":"鐭俊绛惧悕",
+ "desc":"蹇呭~锛岃濉啓鐭俊绛惧悕",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"maxLength",
+ "limitParam":"128",
+ "limitErrInfo":"鐭俊绛惧悕瓒呰繃128浣�",
+ "show": true
+ },
+ {
+ "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,
+ "defaultValue":"",
+ "inputType":"input",
+ "limit":"maxLength",
+ "limitParam":"200",
+ "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
+ "show": false
}
]
}
\ No newline at end of file
--
Gitblit v1.8.0