Commit 6be72b3
Validator增加Json格式支持 (swoft-cloud/swoft-component#122)
* 增加Json Validator支持
* 当content-type为json时,重置$post的数据,进行验证
* get json value by dot notation for validator1 parent c9e871d commit 6be72b3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
0 commit comments