- { }占位符,对应columns里面title
"email": [
{
"type": "maxlength",
"max": 200,
"isAdd": true,
"isEdit": true,
"message": "【邮箱】最大长度为200。"
},
{
"type": "email",
"max": 200,
"isAdd": true,
"isEdit": true,
"message": "【邮箱】格式不正确。"
},
{
"type": "remote",
"url": "~/bo/api/v3/remote/unique/{mkey}/{resField}?ownerId={ownerId}&sysId={sysId}&rule={rule}&{params}",
"sql": "select count(email) from bo_user where email=@email {s-if:userId} and user_id<>@userId {e-if:userId}",
"isAdd": true,
"isEdit": true,
"message": "【邮箱】已存在。"
}
],
文档更新时间: 2022-01-09 20:59 作者:admin