设置前效果

配置文件

1、\RG3.Web.Host.PaaS\Config\Mapper\basis\msg\mapper_bs-msg-chat-rel-user_sql__columns.json

{
  "columns": {
    "userShowName": {
      "extend": {
        // 如果opinion有变更,把paramField参数对应的值赋予field
        "paramField": "userIdSn",
        // 通知列,如果列变更了,通知列需要进行二次变更
        "noticeField": "userId"
      }
    }
  }
}

2.只读、禁用设置
\RG3.Web.Host.PaaS\Config\Bridge\basis\msg\bridge_bs-msg-chat-rel-user__biz.disabled.json

{
  "table": {
    "columns": {
      "userShowName": {
        "attrs": {
          "disabled": true
        }
      }
    }
  },
  "form": {
    "columns": {
      "userShowName": {
        "attrs": {
          "disabled": true
        }
      }
    }
  },
  "search": {}
}

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

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

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

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

设置后效果

文档更新时间: 2023-07-20 11:10   作者:admin