Skip to content

Conversation

aninZz
Copy link
Contributor

@aninZz aninZz commented Jan 12, 2023

{"Moment":{"MUST": "userId","VERIFY":{"userId&{}":">0,<=10000","content{L}":">1,<=10"}}}

规则依然是定义在VERIFY里,key通过content{L} 大括号中间增加了一个L标识为校验length,value依然是通过> >= < <= 配置
"content{L}":">1,<=10"代表 content的长度大于1并且小于等于10

@TommyLemon TommyLemon merged commit ced3fb9 into Tencent:master Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants