FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

支持了请求校验字符串长度的规则 by aninZz · Pull Request #498 · Tencent/APIJSON · GitHub

支持了请求校验字符串长度的规则 - #498

Merged
TommyLemon merged 1 commit into
Tencent:masterfrom
aninZz:master
Jan 13, 2023
Merged

支持了请求校验字符串长度的规则#498
TommyLemon merged 1 commit into
Tencent:masterfrom
aninZz:master

Conversation

aninZz commented Jan 12, 2023

Copy link
Copy Markdown
Contributor

{"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 merged commit ced3fb9 into Tencent:master Jan 13, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL