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
d891053c
authored
2020-06-19 20:01:04 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix requirments
1 parent
bb0cc7b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
docs/main.yaml
requirements/base.txt
src/apps/doc/models.py
src/common/api_doc.py
docs/main.yaml
View file @
d891053
...
...
@@ -100,7 +100,7 @@ definitions:
type
:
string
example
:
CH-B0011010101王明阳申请表
documentScheme
:
description
:
文件
格式?
description
:
文件
方案
type
:
string
example
:
Acceptance
enum
:
...
...
requirements/base.txt
View file @
d891053
...
...
@@ -13,8 +13,8 @@ PyMySQL==0.9.3
pytz==2020.1
PyYAML==5.3.1
redis==3.4.1
simple-config @ http://gitlab.situdata.com/zhouweiqi/simple_config/repository/archive.tar.gz?ref=master
situlogger @ http://gitlab.situdata.com/zhouweiqi/situlogger/repository/archive.tar.gz?ref=master
#
simple-config @ http://gitlab.situdata.com/zhouweiqi/simple_config/repository/archive.tar.gz?ref=master
#
situlogger @ http://gitlab.situdata.com/zhouweiqi/situlogger/repository/archive.tar.gz?ref=master
six==1.14.0
SQLAlchemy==0.9.10
webargs==6.1.0
...
...
src/apps/doc/models.py
View file @
d891053
...
...
@@ -13,7 +13,7 @@ class UploadDocRecords(models.Model): # TODO add status
guarantor_1
=
models
.
CharField
(
max_length
=
16
,
verbose_name
=
"担保人1"
)
guarantor_2
=
models
.
CharField
(
max_length
=
16
,
verbose_name
=
"担保人2"
)
document_name
=
models
.
CharField
(
max_length
=
255
,
verbose_name
=
"文件名"
)
document_scheme
=
models
.
CharField
(
max_length
=
64
,
verbose_name
=
"文件
格式
"
)
document_scheme
=
models
.
CharField
(
max_length
=
64
,
verbose_name
=
"文件
方案
"
)
business_type
=
models
.
CharField
(
max_length
=
64
,
verbose_name
=
"业务类型"
)
data_source
=
models
.
CharField
(
max_length
=
64
,
verbose_name
=
"数据源"
)
upload_finish_time
=
models
.
DateTimeField
(
verbose_name
=
"上传完成时间"
)
...
...
src/common/api_doc.py
View file @
d891053
...
...
@@ -76,7 +76,7 @@ Doc:
type: string
example: CH-B0011010101王明阳申请表
documentScheme:
description: 文件
格式?
description: 文件
方案
type: string
example: Acceptance
enum: [Acceptance, Settlement, Contract Management]
...
...
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