4d7a74a4 by 周伟奇

fix comment

1 parent 74d5891b
......@@ -58,6 +58,10 @@ individual_args = {
'selfEmployedSubType': fields.Str(required=False, validate=validate.OneOf(consts.SUB_TYPE)),
}
comment_args = {
'comment': fields.Str(required=True, validate=validate.Length(max=1024)),
}
compare_content = {
'uniqSeq': fields.Str(required=True, validate=validate.Length(max=128)),
'applicationId': fields.Str(required=True, validate=validate.Length(max=64)),
......@@ -66,7 +70,7 @@ compare_content = {
"applicationVersion": fields.Int(required=True),
'vehicleStatus': fields.Str(required=True, validate=validate.OneOf(consts.VEHICLE_STATUS)),
'comments': fields.List(fields.Str(required=False), required=True),
'comments': fields.List(comment_args, required=True),
'individualCusInfo': fields.List(fields.Nested(individual_args),
required=True, validate=validate.Length(min=1, max=4)),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!