Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yysh5
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
data_server
yysh5
Commits
b7eca5f6
Commit
b7eca5f6
authored
Aug 18, 2020
by
何娜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置环境
parent
3c72628f
Pipeline
#27535
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
config.prod.js
config/config.prod.js
+7
-12
No files found.
config/config.prod.js
View file @
b7eca5f6
...
@@ -25,23 +25,16 @@ module.exports = () => {
...
@@ -25,23 +25,16 @@ module.exports = () => {
};
};
config
.
taskAPI
=
{
config
.
taskAPI
=
{
host
:
process
.
env
.
TASKAPI_HOST
||
'http://tm.51gjj.com:4829'
,
createTaskUrl
:
'/thxdServices/createThxdTask'
,
fetchCodeUrl
:
'/thxdServices/queryThxdCode'
,
submitTaskUrl
:
'/thxdServices/queryThxd'
,
fetchTaskUrl
:
'/thxdServices/getThxdData'
,
};
config
.
taskAPI
=
{
host
:
process
.
env
.
TASKAPI_HOST
,
host
:
process
.
env
.
TASKAPI_HOST
,
createTaskUrl
:
'/create'
,
createTaskUrl
:
'/create'
,
fetchCodeUrl
:
'/phonecode'
,
fetchCodeUrl
:
'/phonecode'
,
submitTaskUrl
:
'/query'
,
submitTaskUrl
:
'/query'
,
fetchTaskUrl
:
'/data'
,
fetchTaskUrl
:
'/data'
,
configUrl
:
'/configs'
,
};
};
config
.
scriptsAPI
=
{
config
.
scriptsAPI
=
{
host
:
process
.
env
.
SCRIPTSAPI_HOST
||
'https://
uat
-nginx.jianbing.com/zeus-api/v1'
,
host
:
process
.
env
.
SCRIPTSAPI_HOST
||
'https://
dev
-nginx.jianbing.com/zeus-api/v1'
,
fetchScriptsUrl
:
'/chaos/yys/two_dimension_array/queries'
,
fetchScriptsUrl
:
'/chaos/yys/two_dimension_array/queries'
,
fetchOneScriptUrl
:
'/chaos/yys/two_dimension_array/info'
,
fetchOneScriptUrl
:
'/chaos/yys/two_dimension_array/info'
,
fetchParamsInfoUrl
:
'/chaos/yys/login_param_map'
,
fetchParamsInfoUrl
:
'/chaos/yys/login_param_map'
,
...
@@ -69,8 +62,10 @@ module.exports = () => {
...
@@ -69,8 +62,10 @@ module.exports = () => {
};
};
config
.
washAPI
=
{
config
.
washAPI
=
{
host
:
process
.
env
.
WASHAPI_HOST
||
'http://t.51gjj.com:3007'
,
host
:
process
.
env
.
WASHAPI_HOST
,
washUrl
:
'/dataProcessing'
,
washUrl
:
'/dataProcessing'
,
newhost
:
'http://118.31.186.162:8050'
,
newwashUrl
:
'/newdataProcessing'
,
};
};
config
.
signatureAPI
=
{
config
.
signatureAPI
=
{
...
@@ -83,7 +78,7 @@ module.exports = () => {
...
@@ -83,7 +78,7 @@ module.exports = () => {
};
};
config
.
partnerAPI
=
{
config
.
partnerAPI
=
{
host
:
process
.
env
.
PARTNERAPI_HOST
||
'https://
uat
-nginx.jianbing.com/zeus-api/v1'
,
host
:
process
.
env
.
PARTNERAPI_HOST
||
'https://
dev
-nginx.jianbing.com/zeus-api/v1'
,
fetchTheme
:
'/chaos/theme'
,
fetchTheme
:
'/chaos/theme'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchScripts
:
'/chaos/partners/scripts'
,
fetchAgreements
:
'/chaos/agreements'
,
fetchAgreements
:
'/chaos/agreements'
,
...
@@ -120,6 +115,6 @@ module.exports = () => {
...
@@ -120,6 +115,6 @@ module.exports = () => {
config
.
callbackUrl
=
process
.
env
.
CALLBACK_URL
||
'https://dev-nginx.jianbing.com/yysh5/callback'
;
config
.
callbackUrl
=
process
.
env
.
CALLBACK_URL
||
'https://dev-nginx.jianbing.com/yysh5/callback'
;
config
.
dataCallbackUrl
=
process
.
env
.
DATACALLBACK_URL
||
'https://dev-nginx.jianbing.com/yysh5/dataCallback'
;
config
.
dataCallbackUrl
=
process
.
env
.
DATACALLBACK_URL
||
'https://dev-nginx.jianbing.com/yysh5/dataCallback'
;
config
.
newdataCallbackUrl
=
process
.
env
.
NEWDATACALLBACK_URL
||
'https://dev-nginx.jianbing.com/yysh5/newdataCallback'
;
return
config
;
return
config
;
};
};
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