39 lines
567 B
JavaScript
39 lines
567 B
JavaScript
// 校验规则由 schema 生成,请不要直接修改当前文件,如果需要请在uniCloud控制台修改schema
|
||
// uniCloud: https://unicloud.dcloud.net.cn/
|
||
|
||
|
||
|
||
export default {
|
||
"user_name": {
|
||
"rules": [
|
||
{
|
||
"format": "string"
|
||
}
|
||
]
|
||
},
|
||
"content": {
|
||
"rules": [
|
||
{
|
||
"required": true
|
||
},
|
||
{
|
||
"format": "string"
|
||
}
|
||
]
|
||
},
|
||
"ip": {
|
||
"rules": [
|
||
{
|
||
"format": "string"
|
||
}
|
||
]
|
||
},
|
||
"create_date": {
|
||
"rules": [
|
||
{
|
||
"format": "timestamp"
|
||
}
|
||
]
|
||
}
|
||
}
|