Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp_estate_server
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mp_estate_backstage
mp_estate_server
Commits
620e3130
Commit
620e3130
authored
Sep 02, 2020
by
刘海华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'dev'
fix See merge request
!2
parents
9ce1f191
bd36b3a7
Pipeline
#27814
passed with stage
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
50 deletions
+9
-50
config.local.ts
config/config.local.ts
+2
-28
config.prod.ts
config/config.prod.ts
+7
-22
No files found.
config/config.local.ts
View file @
620e3130
...
...
@@ -25,18 +25,7 @@ export default () => {
};
config
.
sequelize
=
{
datasources
:
[{
// 东八时区
timezone
:
'+08:00'
,
delegate
:
'model'
,
baseDir
:
'model/default'
,
dialect
:
'mysql'
,
host
:
'rm-bp1mnwmta5778y0d3jo.mysql.rds.aliyuncs.com'
,
database
:
'htadmin_dev'
,
username
:
'htadmin'
,
password
:
'gSI6z8qR5B9dZ464h3S1g'
,
port
:
3306
,
},
{
datasources
:
[
{
// 东八时区
timezone
:
'+08:00'
,
delegate
:
'wafangModel'
,
...
...
@@ -50,22 +39,7 @@ export default () => {
}],
};
config
.
redis
=
{
clients
:
{
zeus
:
{
port
:
6379
,
host
:
'116.62.55.137'
,
password
:
'DEV8redis'
,
db
:
0
,
},
demeter
:
{
port
:
6379
,
host
:
'116.62.55.137'
,
password
:
'DEV8redis'
,
db
:
0
,
},
},
};
config
.
SERVICE_HOST
=
'https://dev-nginx.jianbing.com'
;
...
...
config/config.prod.ts
View file @
620e3130
...
...
@@ -34,34 +34,19 @@ export default () => {
datasources
:
[{
// 东八时区
timezone
:
'+08:00'
,
delegate
:
'
m
odel'
,
baseDir
:
'model/
default
'
,
delegate
:
'
wafangM
odel'
,
baseDir
:
'model/
wafang
'
,
// other sequelize configurations
username
:
process
.
env
.
MYSQL_USER
,
username
:
process
.
env
.
MYSQL_
WANFANG_
USER
,
dialect
:
'mysql'
,
host
:
process
.
env
.
MYSQL_HOST
,
host
:
process
.
env
.
MYSQL_
WAFANG_
HOST
,
port
:
3306
,
database
:
process
.
env
.
MYSQL_DB_NAME
,
password
:
process
.
env
.
MYSQL_PWD
,
database
:
process
.
env
.
MYSQL_
WANFANG_
DB_NAME
,
password
:
process
.
env
.
MYSQL_
WANFANG_
PWD
,
}],
};
config
.
redis
=
{
clients
:
{
zeus
:
{
port
:
6379
,
host
:
process
.
env
.
REDIS_HOST
,
password
:
process
.
env
.
REDIS_PWD
,
db
:
0
,
},
demeter
:
{
// 理财
port
:
6379
,
host
:
process
.
env
.
REDIS_DEM_HOST
,
password
:
process
.
env
.
REDIS_DEM_PWD
,
db
:
0
,
},
},
};
config
.
mailer
=
{
client
:
{
...
...
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