Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4d7a74a4
authored
2021-02-26 15:57:54 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix comment
1 parent
74d5891b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
4d7a74a
...
...
@@ -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
)),
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment