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
9f103c01
Commit
9f103c01
authored
Dec 24, 2020
by
wang zhengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
f2ded871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
report.py
app/controller/report.py
+4
-1
No files found.
app/controller/report.py
View file @
9f103c01
...
@@ -38,7 +38,10 @@ class ReportHandlers(Resource):
...
@@ -38,7 +38,10 @@ class ReportHandlers(Resource):
ifa_id
=
redis
.
get
(
token
)
.
decode
()
ifa_id
=
redis
.
get
(
token
)
.
decode
()
if
not
ifa_id
:
if
not
ifa_id
:
return
{
"code"
:
40005
,
"data"
:
None
,
"lang"
:
"zh_CN"
,
"msg"
:
"请登陆"
}
return
{
"code"
:
40005
,
"data"
:
None
,
"lang"
:
"zh_CN"
,
"msg"
:
"请登陆"
}
ifa_id
=
ifa_id
.
replace
(
'
\'
'
,
''
)
if
'
\'
'
in
ifa_id
:
ifa_id
=
ifa_id
.
replace
(
'
\'
'
,
''
)
if
'
\"
'
in
ifa_id
:
ifa_id
=
ifa_id
.
replace
(
'
\"
'
,
''
)
customer_id
=
args
[
'customer_id'
]
customer_id
=
args
[
'customer_id'
]
pdf_name
=
str
(
ifa_id
)
+
str
(
customer_id
)
+
'.pdf'
pdf_name
=
str
(
ifa_id
)
+
str
(
customer_id
)
+
'.pdf'
...
...
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