吴学文
2019-07-08 3fd3a36bb3e7ffd89f0c0a478b9ad52262eac2fc
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,53 +1,56 @@
{
  "templateName":"应用",
  "templateCode":"app",
  "templateKey":"appId",
  "templateKeyName":"应用Id",
  "templateName":"编码映射",
  "templateCode":"mapping",
  "templateKey":"id",
  "templateKeyName":"编码ID",
  "columns":[
    {
      "code":"domain",
      "cnCode":"域",
      "desc":"必填,请填写域",
      "required":true,
      "hasDefaultValue":true,
      "defaultValue":"DOMAIN.COMMON",
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"域长度不能超过50"
    },
    {
      "code":"name",
      "cnCode":"应用名称",
      "desc":"必填,请填写应用名称",
      "cnCode":"名称",
      "desc":"必填,请填写名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"2,50",
      "limitErrInfo":"应用名称必须在2至50字符之间"
      "limitErrInfo":"名称必须在2至50字符之间"
    },
    {
      "code":"securityCode",
      "cnCode":"秘钥",
      "desc":"可填,请填写秘钥,如果填写了需要加密传输",
      "required":false,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"秘钥太长超过64位"
    },
    {
      "code":"whileListIp",
      "cnCode":"白名单",
      "desc":"可填,请填写白名单IP,以,号分割",
      "required":false,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"白名单内容不能超过200"
    },
    {
      "code":"blackListIp",
      "cnCode":"黑名单",
      "desc":"可填,请填写黑名单IP,以,号分割",
      "required":false,
      "code":"key",
      "cnCode":"键",
      "desc":"必填,请填写键",
      "required":true,
      "hasDefaultValue":false,
      "defaultValue":"",
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"黑名单内容不能超过200"
      "limit":"maxin",
      "limitParam":"1,100",
      "limitErrInfo":"键必须在1至100之间"
    },
    {
      "code":"value",
      "cnCode":"值",
      "desc":"必填,请填写值",
      "required":true,
      "hasDefaultValue":false,
      "defaultValue":"",
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"1,100",
      "limitErrInfo":"值必须在1至100之间"
    },
    {