设置前效果

配置文件

1、
\RG3.Web.Host.PaaS\Config\Mapper\basis\bs\mapper_bs-news_sql__biz.http.json

{
  "rules": {
    "linkUrl": [
      {
        "type": "maxlength",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "max": 400,
        "message": "【{link_url}】值最大长度为400。"
      },
      {
        "type": "url",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 10,
        "message": "【{link_url}】格式不正确。"
      }
    ]
  },
  "responseField": {},
  "columns": {
    "linkUrl": {
      "placeholder": "链接地址:http://*?_ori_link"
    }
  },
  "dimDatas": {}
}
{
  "rules": {
    "fromSiteUrl": [
      {
        "type": "maxlength",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "max": 400,
        "message": "【{from_site_url}】值最大长度为400。"
      },
      {
        "type": "url",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 10,
        "message": "【{from_site_url}】格式不正确。"
      }
    ]
  },
  "responseField": {},
  "columns": {
    "fromSiteUrl": {
      "placeholder": "http://*?_ori_link"
    }
  },
  "dimDatas": {}
}

推送并令配置生效(build-mapper-used)

http://localhost:5775/auth/main-content

推送并令配置生效(build-bridge-used)

http://localhost:5775/auth/main-content

设置后效果

文档更新时间: 2023-06-12 11:17   作者:admin