Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_course_order
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
彭熊
tamp_course_order
Commits
3367b3e5
Commit
3367b3e5
authored
Dec 01, 2020
by
pengxiong@wealthgrow.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置2
parent
c89a8601
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
engine.py
app/api/engine.py
+2
-1
config.yaml
app/config/config.yaml
+1
-1
No files found.
app/api/engine.py
View file @
3367b3e5
...
...
@@ -46,7 +46,8 @@ tamp_pay_engine = create_engine(
redis
=
redis
.
Redis
(
host
=
config
[
env
][
'redis'
][
'host'
],
port
=
config
[
env
][
'redis'
][
'port'
],
db
=
config
[
env
][
'redis'
][
'db'
]
db
=
config
[
env
][
'redis'
][
'db'
],
password
=
config
[
env
][
'redis'
][
'password'
]
)
logging
.
basicConfig
(
level
=
logging
.
INFO
,
...
...
app/config/config.yaml
View file @
3367b3e5
...
...
@@ -54,7 +54,7 @@ prod:
host
:
r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com
port
:
6379
db
:
0
password
:
@
imeng123
password
:
'
@imeng123'
log
:
filename
:
/logs/tamp_course_order.log
filemode
:
a
...
...
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