| | |
| | | { |
| | | "templateName":"服务实现", |
| | | "templateCode":"serviceImpl", |
| | | "templateKey":"serviceBusinessId", |
| | | "templateKeyName":"服务实现ID", |
| | | "searchCode": "name", |
| | | "searchName": "服务名称", |
| | | "templateName":"活动", |
| | | "templateCode":"activities", |
| | | "templateKey":"activitiesId", |
| | | "templateKeyName":"活动ID", |
| | | "searchCode": "title", |
| | | "searchName": "活动标题", |
| | | "conditions": [ |
| | | { |
| | | "name": "业务类型", |
| | | "name": "活动标题", |
| | | "inputType": "input", |
| | | "code": "businessTypeCd", |
| | | "code": "title", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "业务名称", |
| | | "inputType": "input", |
| | | "code": "name", |
| | | "whereCondition": "like" |
| | | }, |
| | | { |
| | | "name": "调用方式", |
| | | "name": "活动类型", |
| | | "inputType": "select", |
| | | "code": "invokeType", |
| | | "selectValue":"1,2,3", |
| | | "selectValueName":"微服务POST方式,webservice方式,http post方式", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"小区文化,其他", |
| | | "code": "typeCd", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "kafka主题", |
| | | "name": "员工名称", |
| | | "inputType": "input", |
| | | "code": "messageTopic", |
| | | "whereCondition": "like" |
| | | "code": "userName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "活动ID", |
| | | "inputType": "input", |
| | | "code": "activitiesId", |
| | | "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":"必填,请填写业务类型", |
| | | "code":"title", |
| | | "cnCode":"活动标题", |
| | | "desc":"必填,请填写业活动标题", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,50", |
| | | "limitErrInfo":"业务类型必须在2至50字符之间", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"活动标题不能超过200位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"name", |
| | | "cnCode":"业务名称", |
| | | "desc":"必填,请填写业务名称", |
| | | "code": "typeCd", |
| | | "cnCode":"活动类型", |
| | | "desc":"必填,请选择活动类型", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"input", |
| | | "inputType": "select", |
| | | "selectValue":"10001,10002", |
| | | "selectValueName":"小区文化,其他", |
| | | "limit":"num", |
| | | "limitParam":"", |
| | | "limitErrInfo":"活动类型格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "headerImg", |
| | | "cnCode":"头部照片", |
| | | "desc":"必填,请选择头部照片", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"2,50", |
| | | "limitErrInfo":"业务类型必须在2至50字符之间", |
| | | "limitParam":"1,200", |
| | | "limitErrInfo":"头部照片格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"invokeType", |
| | | "cnCode":"调用类型", |
| | | "desc":"必填,请填写调用类型", |
| | | "code": "context", |
| | | "cnCode":"活动内容", |
| | | "desc":"必填,请填写活动内容", |
| | | "required":true, |
| | | "hasDefaultValue":false, |
| | | "inputType":"select", |
| | | "selectValue":"1,2,3", |
| | | "selectValueName":"微服务POST方式,webservice方式,http post方式", |
| | | "inputType": "input", |
| | | "limit":"maxin", |
| | | "limitParam":"1,4", |
| | | "limitErrInfo":"调用类型错误", |
| | | "limitParam":"1,4000", |
| | | "limitErrInfo":"活动内容太长", |
| | | "show": true |
| | | }, |
| | | |
| | | { |
| | | "code":"url", |
| | | "cnCode":"调用地址", |
| | | "desc":"必填,请填写调用地址,为mapping 表中domain为DOMAIN.COMMON映射key", |
| | | "code": "startTime", |
| | | "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 |
| | | }, |
| | | { |
| | | "code":"timeout", |
| | | "cnCode":"超时时间", |
| | | "desc":"必填,请填写超时时间", |
| | | "required":true, |
| | | "hasDefaultValue":true, |
| | | "defaultValue":60, |
| | | "inputType":"input", |
| | | "limit":"num", |
| | | "inputType": "input", |
| | | "limit":"date", |
| | | "limitParam":"", |
| | | "limitErrInfo":"超时时间必须为数字", |
| | | "show": false |
| | | "limitErrInfo":"开始时间格式错误", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code":"retryCount", |
| | | "cnCode":"重试次数", |
| | | "desc":"必填,请填写重试次数", |
| | | "code": "endTime", |
| | | "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":"date", |
| | | "limitParam":"", |
| | | "limitErrInfo":"结束时间格式错误", |
| | | "show": true |
| | | } |
| | | ] |
| | | } |