Commit b7eca5f6 authored by 何娜's avatar 何娜

配置环境

parent 3c72628f
Pipeline #27535 passed with stage
in 2 seconds
......@@ -25,23 +25,16 @@ module.exports = () => {
};
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,
createTaskUrl: '/create',
fetchCodeUrl: '/phonecode',
submitTaskUrl: '/query',
fetchTaskUrl: '/data',
configUrl: '/configs',
};
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',
fetchOneScriptUrl: '/chaos/yys/two_dimension_array/info',
fetchParamsInfoUrl: '/chaos/yys/login_param_map',
......@@ -69,8 +62,10 @@ module.exports = () => {
};
config.washAPI = {
host: process.env.WASHAPI_HOST || 'http://t.51gjj.com:3007',
host: process.env.WASHAPI_HOST,
washUrl: '/dataProcessing',
newhost: 'http://118.31.186.162:8050',
newwashUrl: '/newdataProcessing',
};
config.signatureAPI = {
......@@ -83,7 +78,7 @@ module.exports = () => {
};
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',
fetchScripts: '/chaos/partners/scripts',
fetchAgreements: '/chaos/agreements',
......@@ -120,6 +115,6 @@ module.exports = () => {
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.newdataCallbackUrl = process.env.NEWDATACALLBACK_URL || 'https://dev-nginx.jianbing.com/yysh5/newdataCallback';
return config;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment