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
7bbe09cd
Commit
7bbe09cd
authored
Nov 13, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
33af1194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
igirl-zcapi-web/app/base/db/metadata/apps/platform.js
+2
-2
igirl-zcapi-web/app/config/settings.js
+9
-10
No files found.
igirl-zcapi-web/app/base/db/metadata/apps/platform.js
View file @
7bbe09cd
module
.
exports
=
{
"appid"
:
"
bfe73612fa024822941e3e1ecd9a06e1
"
,
"label"
:
"
研发开放平台
"
,
"appid"
:
"
201911131525
"
,
"label"
:
"
知产底层api前端交付应用
"
,
"config"
:
{
"rstree"
:
{
"code"
:
"paasroot"
,
...
...
igirl-zcapi-web/app/config/settings.js
View file @
7bbe09cd
...
...
@@ -4,33 +4,33 @@ var ENVINPUT = {
DB_PORT
:
process
.
env
.
DB_PORT
,
DB_USER
:
process
.
env
.
DB_USER
,
DB_PWD
:
process
.
env
.
DB_PWD
,
DB_NAME
:
process
.
env
.
PAAS
_DB_NAME
,
DB_NAME
:
process
.
env
.
ZC_CHANNEL_WEB
_DB_NAME
,
REDIS_HOST
:
process
.
env
.
REDIS_HOST
,
REDIS_PORT
:
process
.
env
.
REDIS_PORT
,
REDIS_PWD
:
process
.
env
.
REDIS_PWD
,
REDIS_DB
:
process
.
env
.
PAAS
_REDIS_DB
,
REDIS_DB
:
process
.
env
.
ZC_CHANNEL_WEB
_REDIS_DB
,
APP_ENV
:
process
.
env
.
APP_ENV
?
process
.
env
.
APP_ENV
:
"dev"
};
var
settings
=
{
env
:
ENVINPUT
.
APP_ENV
,
appKey
:
"
bfe73612fa024822941e3e1ecd9a06e1
"
,
appKey
:
"
201911131525
"
,
paasKey
:
"wx76a324c5d201d1a4"
,
secret
:
"
1671ab5405fa49c8b5dd0b0c55c279b8
"
,
secret
:
"
e109ec031cdb4010a983d2f3582d3692
"
,
salt
:
"%iatpD1gcxz7iF#B"
,
basepath
:
path
.
normalize
(
path
.
join
(
__dirname
,
'../..'
)),
port
:
process
.
env
.
NODE_PORT
||
4005
,
channelApiUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"http://zcchannel.apps.com:
3
003"
;
return
"http://zcchannel.apps.com:
4
003"
;
}
else
{
return
"http://
192.168.18.95:3001
"
;
return
"http://
zc-channel-service
"
;
}
},
paasUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"http://p.apps.com:
3
001/"
;
return
"http://p.apps.com:
4
001/"
;
}
else
{
return
"http://
www.telecredit.cn
/"
;
return
"http://
open.gongsibao.com
/"
;
}
},
teleDomain
:
function
()
{
...
...
@@ -264,7 +264,7 @@ var settings = {
var
localsettings
=
require
(
"./localsettings"
);
return
localsettings
.
reqAuthUrl
;
}
else
{
return
"http://
boss
.gongsibao.com/admin"
;
return
"http://
zcchannelweb
.gongsibao.com/admin"
;
}
},
reqMgAddr
:
function
()
{
...
...
@@ -316,6 +316,5 @@ var settings = {
};
}
}
};
module
.
exports
=
settings
;
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