Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
4be9593d
Commit
4be9593d
authored
Sep 07, 2020
by
王悦
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/zhiquanquan' into zhiquanquan
parents
137c366b
eec1c422
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
37 deletions
+30
-37
zhiquanquan/app/config/settings.js
+30
-37
No files found.
zhiquanquan/app/config/settings.js
View file @
4be9593d
...
@@ -4,7 +4,7 @@ var ENVINPUT = {
...
@@ -4,7 +4,7 @@ var ENVINPUT = {
DB_PORT
:
process
.
env
.
DB_PORT
,
DB_PORT
:
process
.
env
.
DB_PORT
,
DB_USER
:
process
.
env
.
DB_USER
,
DB_USER
:
process
.
env
.
DB_USER
,
DB_PWD
:
process
.
env
.
DB_PWD
,
DB_PWD
:
process
.
env
.
DB_PWD
,
DB_NAME
:
process
.
env
.
Z
HIQUANQUAN
_DB_NAME
,
DB_NAME
:
process
.
env
.
Z
QQ
_DB_NAME
,
REDIS_HOST
:
process
.
env
.
REDIS_HOST
,
REDIS_HOST
:
process
.
env
.
REDIS_HOST
,
REDIS_PORT
:
process
.
env
.
REDIS_PORT
,
REDIS_PORT
:
process
.
env
.
REDIS_PORT
,
REDIS_PWD
:
process
.
env
.
REDIS_PWD
,
REDIS_PWD
:
process
.
env
.
REDIS_PWD
,
...
@@ -34,13 +34,6 @@ var settings = {
...
@@ -34,13 +34,6 @@ var settings = {
browsingRecordsLogUrl
:
function
()
{
browsingRecordsLogUrl
:
function
()
{
return
"http://43.247.184.94:7200/marketplat_browsingrecords_log/_doc?pretty"
;
return
"http://43.247.184.94:7200/marketplat_browsingrecords_log/_doc?pretty"
;
},
},
templateLinkUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"http://192.168.200.208:8081/tfhref"
;
}
else
{
return
"https://marketflow.gongsibao.com/tfhref"
;
}
},
requrl
:
function
()
{
requrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://192.168.18.101:4018"
;
return
"http://192.168.18.101:4018"
;
...
@@ -48,40 +41,40 @@ var settings = {
...
@@ -48,40 +41,40 @@ var settings = {
return
"http://sytxpublic-msgq-service"
;
return
"http://sytxpublic-msgq-service"
;
}
}
},
},
paasUrl
:
function
()
{
paasUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://59.110.125.77:4001/"
;
return
"http://59.110.125.77:4001/"
;
}
else
{
}
else
{
return
"https://open.gongsibao.com/"
;
return
"https://open.gongsibao.com/"
;
}
}
},
},
channelApiUrl
:
function
()
{
channelApiUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://alitm.qifu-dev.gongsibao.com"
;
return
"http://alitm.qifu-dev.gongsibao.com"
;
}
else
{
}
else
{
return
"http://zc-channel-service"
;
return
"http://zc-channel-service"
;
}
}
},
},
uploadfileossurl
:
function
()
{
uploadfileossurl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://192.168.49.170:8080"
;
return
"http://192.168.49.170:8080"
;
}
else
{
}
else
{
return
"http://localhost:8080"
;
return
"http://localhost:8080"
;
}
}
},
},
tmtransactionurl
:
function
()
{
tmtransactionurl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
}
else
{
}
else
{
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
}
}
},
},
serviceurl
:
function
()
{
serviceurl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"http://192.168.200.181:3003"
;
return
"http://192.168.200.181:3003"
;
}
else
{
}
else
{
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
return
"http://gsbweb.qifu-dev.gongsibao.com"
;
}
}
},
},
pmappid
:
1
,
pmappid
:
1
,
pmcompanyid
:
1
,
pmcompanyid
:
1
,
...
...
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