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
31667d2d
Commit
31667d2d
authored
4 years ago
by
wang zhengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
26ff192f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
__main__.py
app/api/__main__.py
+1
-1
report_service.py
app/service/report_service.py
+1
-1
celery.py
app/utils/celery.py
+1
-1
No files found.
app/api/__main__.py
View file @
31667d2d
...
...
@@ -9,5 +9,5 @@
from
app.api.app
import
app
if
__name__
==
'__main__'
:
app
.
run
(
'
127.0.0.1
'
,
port
=
8000
,
debug
=
True
)
app
.
run
(
'
0.0.0.0
'
,
port
=
8000
,
debug
=
True
)
This diff is collapsed.
Click to expand it.
app/service/report_service.py
View file @
31667d2d
...
...
@@ -188,7 +188,7 @@ def make_report(args):
args
[
'create_time'
]
=
datetime
.
datetime
.
now
()
args
[
'update_status'
]
=
1
args
.
pop
(
'type'
)
#
args.pop('type')
record_id
=
0
with
TAMP_SQL
(
tamp_diagnose_app_engine
)
as
tamp_diagnose_app
:
tamp_diagnose_session
=
tamp_diagnose_app
.
session
...
...
This diff is collapsed.
Click to expand it.
app/utils/celery.py
View file @
31667d2d
...
...
@@ -11,7 +11,7 @@ from app.utils.jinjia2html_v2 import DataIntegrate
celery_app
=
Celery
(
__name__
)
celery_conf
=
"redis://:{}@{}:{}/{}"
.
format
(
redis_password
,
redis_host
[
0
],
redis_port
[
0
],
"
1
"
)
celery_conf
=
"redis://:{}@{}:{}/{}"
.
format
(
redis_password
,
redis_host
[
0
],
redis_port
[
0
],
"
2
"
)
celery_app
.
conf
.
update
({
"broker_url"
:
celery_conf
,
"result_backend"
:
celery_conf
})
...
...
This diff is collapsed.
Click to expand it.
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