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
24639013
Commit
24639013
authored
Nov 13, 2019
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
4a20f09d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
bpo-web/app/config/settings.js
+10
-7
No files found.
bpo-web/app/config/settings.js
View file @
24639013
...
@@ -7,8 +7,8 @@ var ENVINPUT = {
...
@@ -7,8 +7,8 @@ var ENVINPUT = {
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
,
DB_NAME
:
process
.
env
.
BPO
WEB
_DB_NAME
,
DB_NAME
:
process
.
env
.
BPO
ADMIN
_DB_NAME
,
REDIS_DB
:
process
.
env
.
BPO
WEB
_REDIS_DB
,
REDIS_DB
:
process
.
env
.
BPO
ADMIN
_REDIS_DB
,
APP_ENV
:
process
.
env
.
APP_ENV
?
process
.
env
.
APP_ENV
:
"dev"
,
APP_ENV
:
process
.
env
.
APP_ENV
?
process
.
env
.
APP_ENV
:
"dev"
,
};
};
var
settings
=
{
var
settings
=
{
...
@@ -47,7 +47,7 @@ var settings = {
...
@@ -47,7 +47,7 @@ var settings = {
//e签宝接口Url
//e签宝接口Url
eSignBaoUrl
:
function
()
{
eSignBaoUrl
:
function
()
{
if
(
APP_ENV
.
APP_ENV
==
"dev"
)
{
if
(
settings
.
env
==
"dev"
)
{
return
"https://smlo.tsign.cn/opentreaty-service"
;
return
"https://smlo.tsign.cn/opentreaty-service"
;
}
else
{
}
else
{
return
"https://o.tsign.cn/opentreaty-service"
;
return
"https://o.tsign.cn/opentreaty-service"
;
...
@@ -55,7 +55,7 @@ var settings = {
...
@@ -55,7 +55,7 @@ var settings = {
},
},
//e签宝银行验证接口Url
//e签宝银行验证接口Url
eSignBaoBankVerifyUrl
:
function
()
{
eSignBaoBankVerifyUrl
:
function
()
{
if
(
APP_ENV
.
APP_ENV
==
"dev"
)
{
if
(
settings
.
env
==
"dev"
)
{
return
"https://smlo.tsign.cn/openrealname-service"
;
return
"https://smlo.tsign.cn/openrealname-service"
;
}
else
{
}
else
{
return
"https://o.tsign.cn/openrealname-service"
;
return
"https://o.tsign.cn/openrealname-service"
;
...
@@ -63,7 +63,7 @@ var settings = {
...
@@ -63,7 +63,7 @@ var settings = {
},
},
//e签宝appId
//e签宝appId
eSignBaoAppId
:
function
()
{
eSignBaoAppId
:
function
()
{
if
(
APP_ENV
.
APP_ENV
==
"dev"
)
{
if
(
settings
.
env
==
"dev"
)
{
return
"4438757581"
;
return
"4438757581"
;
}
else
{
}
else
{
return
"5111566617"
return
"5111566617"
...
@@ -71,8 +71,11 @@ var settings = {
...
@@ -71,8 +71,11 @@ var settings = {
},
},
//e签宝appKey
//e签宝appKey
eSignBaoAppKey
:
function
()
{
eSignBaoAppKey
:
function
()
{
if
(
settings
.
env
==
"dev"
)
{
return
"0d798cdf01ecb31bf9949f319f8d77db"
;
return
"0d798cdf01ecb31bf9949f319f8d77db"
;
}
else
{
return
"ea386dfd9063b3669b38b78ed36792cc"
}
},
},
},
},
reqEsDevUrl
:
"http://192.168.4.249:9200/"
,
reqEsDevUrl
:
"http://192.168.4.249:9200/"
,
...
...
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