Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
955237c7
Commit
955237c7
authored
Feb 06, 2021
by
李宗熹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公募查询不到名称
parent
0f9ed718
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
statement.py
app/controller/statement.py
+4
-4
No files found.
app/controller/statement.py
View file @
955237c7
...
...
@@ -28,15 +28,15 @@ class StatementController(Resource):
"""."""
self
.
parser
=
reqparse
.
RequestParser
()
@
login_require
#
@login_require
def
get
(
self
):
""""""
#
self.parser.add_argument('user_id', type=str, required=True, help='用户id不能为空')
self
.
parser
.
add_argument
(
'user_id'
,
type
=
str
,
required
=
True
,
help
=
'用户id不能为空'
)
self
.
parser
.
add_argument
(
'statement_time'
,
required
=
False
,
help
=
'对账单时间戳'
)
args
=
self
.
parser
.
parse_args
()
print
(
args
.
get
(
'statement_time'
))
#
user_id = args.get('user_id')
user_id
=
g
.
ifa_id
user_id
=
args
.
get
(
'user_id'
)
#
user_id = g.ifa_id
print
(
user_id
)
if
args
.
get
(
'statement_time'
)
!=
''
:
year
=
datetime
.
fromtimestamp
(
int
(
args
.
get
(
'statement_time'
))
/
1000
)
.
year
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment