文档
测试

根据角色查询所有模块的字段权限

GET
/dev-api/salse/salse_module/{roleKey}

请求参数

参数名
类型
描述
必填
roleKey
String
角色关键字 登录后会返回给前端
必填

响应参数

参数名
类型
描述
必填
code
String
必填
msg
String
必填
data
List
必填
columnCode
String
字段代号 此数据会和页面相关数据的数据字段名称一致
必填
columnName
Sring
字段名称
必填
columnAuthority
object
必填
readOperatioan
int
读 0 无 1 有
必填
updateOperatioan
int
写 0 无 1 有
必填

说明 / 示例

``` { "code": "wizxrlyljv", "msg": "huwfqhgyix", "data": [ { "columnCode": "productWeight", "columnName": "产品重量", "columnAuthority": { "readOperatioan": 1, "updateOperatioan": 0 } }, { "columnCode": "salseUnitPrice", "columnName": "报价单价", "columnAuthority": { "readOperatioan": 1, "updateOperatioan": 0 } }, { "columnCode": "dealMoney", "columnName": "成交金额", "columnAuthority": { "readOperatioan": 1, "updateOperatioan": 1 } } ] } ```