shiyj
2019-09-02 b784175e978b0fcfca8ca8bed7953ae4eacf49e8
java110-code-generator/src/main/resources/web/template_service.json
@@ -5,6 +5,34 @@
  "templateKeyName":"服务ID",
  "searchCode": "name",
  "searchName": "服务名称",
  "conditions": [
    {
      "name": "应用名称",
      "inputType": "choose",
      "componentName": "chooseApp",
      "code": "appName",
      "key": "appId",
      "whereCondition": "equal"
    },
    {
      "name": "服务名称",
      "inputType": "input",
      "code": "serviceName",
      "whereCondition": "like"
    },
    {
      "name": "服务编码",
      "inputType": "input",
      "code": "serviceCode",
      "whereCondition": "like"
    },
    {
      "name": "调用地址",
      "inputType": "input",
      "code": "serviceUrl",
      "whereCondition": "like"
    }
  ],
  "columns":[
    {
      "code":"name",
@@ -15,7 +43,8 @@
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"服务名称不能超过50"
      "limitErrInfo":"服务名称不能超过50",
      "show": true
    },
    {
      "code":"serviceCode",
@@ -26,7 +55,8 @@
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"2,50",
      "limitErrInfo":"服务编码必须在2至50字符之间"
      "limitErrInfo":"服务编码必须在2至50字符之间",
      "show": true
    },
    {
      "code":"businessTypeCd",
@@ -38,7 +68,8 @@
      "inputType":"none",
      "limit":"maxin",
      "limitParam":"2,4",
      "limitErrInfo":"业务类型必须为API"
      "limitErrInfo":"业务类型必须为API",
      "show": false
    },
    {
@@ -51,9 +82,9 @@
      "inputType":"none",
      "limit":"maxLength",
      "limitParam":"1",
      "limitErrInfo":"序列格式错误"
      "limitErrInfo":"序列格式错误",
      "show": false
    },
    {
      "code":"messageQueueName",
      "cnCode":"消息队列",
@@ -64,10 +95,9 @@
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"消息队列不能超过50"
    }
  ,
      "limitErrInfo":"消息队列不能超过50",
      "show": true
    },
    {
      "code":"isInstance",
      "cnCode":"是否实例",
@@ -78,7 +108,8 @@
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"实例不能超过50"
      "limitErrInfo":"实例不能超过50",
      "show": false
    }
  ,
@@ -92,7 +123,8 @@
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"调用地址不能超过200"
      "limitErrInfo":"调用地址不能超过200",
      "show": true
    },
    {
      "code":"method",
@@ -105,7 +137,8 @@
      "selectValueName":"http get,http post",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"调用方式不能超过50"
      "limitErrInfo":"调用方式不能超过50",
      "show": true
    },
    {
      "code":"timeout",
@@ -117,7 +150,8 @@
      "inputType":"input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"超时时间必须为数字"
      "limitErrInfo":"超时时间必须为数字",
      "show": false
    },
    {
      "code":"retryCount",
@@ -129,7 +163,8 @@
      "inputType":"input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"重试次数必须为数字"
      "limitErrInfo":"重试次数必须为数字",
      "show": false
    },
    {
      "code":"provideAppId",
@@ -141,8 +176,8 @@
      "inputType":"none",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"重试次数必须为数字"
      "limitErrInfo":"重试次数必须为数字",
      "show": false
    }
  ]
}