Skip to content

Commit

Permalink
不验证器的readme
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Dec 6, 2017
1 parent ad25688 commit 106e849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ Excel里的Key使用@后缀的字段名,@后面的部分都属于验证器。
+ 协议类型(对应protobuf的message里的每个field,excel里可以填field number或者field name)
+ 枚举类型(对应protobuf的enum里的每个number,excel里可以填enum number或者enum name)
+ 值范围A-B(比如0-1234)
+ 多个验证器可以使用“或”符号(“|”)来分隔开, 任意一个验证器满足条件则认为时合法数据(如: 100-200|2000-3000|test_msg_verifier)

详见 [sample/资源转换示例.xlsx](sample/资源转换示例.xlsx) 的upgrade_10001和upgrade_10002表

Expand Down

0 comments on commit 106e849

Please sign in to comment.