Commit 1ef51a0b authored by 姜登's avatar 姜登

yys

parent 6334f89e
...@@ -47,7 +47,6 @@ module.exports = () => { ...@@ -47,7 +47,6 @@ module.exports = () => {
redisScriptsKey: 'URANUS.YYS.SCRIPTS', redisScriptsKey: 'URANUS.YYS.SCRIPTS',
redisParamsKey: 'URANUS.YYS.PARAMS', redisParamsKey: 'URANUS.YYS.PARAMS',
redisScriptListKey: 'URANUS.YYS.SCRIPTLIST', redisScriptListKey: 'URANUS.YYS.SCRIPTLIST',
cityListUrl: 'https://t.51gjj.com/gjj/getCityConfig',
}; };
config.phoneAreaAPI = { config.phoneAreaAPI = {
......
...@@ -4,9 +4,9 @@ module.exports = () => { ...@@ -4,9 +4,9 @@ module.exports = () => {
const config = exports = {}; const config = exports = {};
config.debug = true; config.debug = true;
config.logger = { // config.logger = {
dir: '/jianbing/logs/yysh5', // dir: '/jianbing/logs/yysh5',
}; // };
config.projectRootPath = '/yysh5'; config.projectRootPath = '/yysh5';
config.redis = { config.redis = {
...@@ -18,12 +18,11 @@ module.exports = () => { ...@@ -18,12 +18,11 @@ module.exports = () => {
}, },
}; };
config.taskAPI = { config.taskAPI = {
host: process.env.TASKAPI_HOST || 'http://tm.51gjj.com:4821', host: process.env.TASKAPI_HOST || 'http://tm.51gjj.com:4829',
fetchHubsUrl: '', createTaskUrl: '/thxdServices/createThxdTask',
createTaskUrl: '/gjjServices/createGjjTask', fetchCodeUrl: '/thxdServices/queryThxdCode',
fetchCodeUrl: '/gjjServices/queryGjjCode', submitTaskUrl: '/thxdServices/queryThxd',
submitTaskUrl: '/gjjServices/queryGjj', fetchTaskUrl: '/thxdServices/getThxdData',
fetchTaskUrl: '/gjjServices/getGjjData',
}; };
config.scriptsAPI = { config.scriptsAPI = {
...@@ -36,23 +35,27 @@ module.exports = () => { ...@@ -36,23 +35,27 @@ module.exports = () => {
fetchNoticeUrl: '/chaos/hf/notice', fetchNoticeUrl: '/chaos/hf/notice',
fetchHubSeriptsUrl: '/chaos/hf/hubs', fetchHubSeriptsUrl: '/chaos/hf/hubs',
fetchScriptByCityNameUrl: '/chaos/hf/city_scripts', fetchScriptByCityNameUrl: '/chaos/hf/city_scripts',
redisScriptsKey: 'URANUS.HF.SCRIPTS', redisScriptsKey: 'URANUS.YYS.SCRIPTS',
redisParamsKey: 'URANUS.HF.PARAMS', redisParamsKey: 'URANUS.YYS.PARAMS',
redisScriptListKey: 'URANUS.HF.SCRIPTLIST', redisScriptListKey: 'URANUS.YYS.SCRIPTLIST',
cityListUrl: 'https://t.51gjj.com/gjj/getCityConfig',
}; };
config.storageAPI = { config.phoneAreaAPI = {
host: process.env.STORAGEAPI_HOST || 'http://tv.51gjj.com:11252', bdhost: 'http://mobsec-dianhua.baidu.com/dianhua_api/open/location?tel=',
writeUrl: '/data', alhost: 'https://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=',
readUrl: '/gjj',
writeType: 'gjj',
readDataKey: 'gjjData',
}; };
// config.storageAPI = {
// host: process.env.STORAGEAPI_HOST || 'http://tv.51gjj.com:11252',
// writeUrl: '/data',
// readUrl: '/gjj',
// writeType: 'gjj',
// readDataKey: 'gjjData',
// };
config.washAPI = { config.washAPI = {
host: process.env.WASHAPI_HOST || 'http://tt.51gjj.com:11101', host: process.env.WASHAPI_HOST || 'http://t.51gjj.com:3007',
washUrl: '/gjj/analyzeGjj', washUrl: '/dataProcessing',
}; };
config.signatureAPI = { config.signatureAPI = {
...@@ -60,8 +63,7 @@ module.exports = () => { ...@@ -60,8 +63,7 @@ module.exports = () => {
fetchTokenUrl: '/Access/GetToken', fetchTokenUrl: '/Access/GetToken',
fetchOrderIdUrl: '/Order/GetOrderSn', fetchOrderIdUrl: '/Order/GetOrderSn',
signatureUrl: '/Access/SignValidityCheck', signatureUrl: '/Access/SignValidityCheck',
fetchParnterUrl: '', signatureType: 'thxd',
signatureType: 'gjj',
customerUrl: '/customer/query', customerUrl: '/customer/query',
}; };
...@@ -70,19 +72,19 @@ module.exports = () => { ...@@ -70,19 +72,19 @@ module.exports = () => {
fetchTheme: '/chaos/theme', fetchTheme: '/chaos/theme',
fetchScripts: '/chaos/partners/scripts', fetchScripts: '/chaos/partners/scripts',
fetchAgreements: '/chaos/agreements', fetchAgreements: '/chaos/agreements',
redisThemePrefix: 'URANUS.HF.PARNTERS.THEME', redisThemePrefix: 'URANUS.YYS.PARNTERS.THEME',
redisScriptsPrefix: 'URANUS.HF.PARNTERS.SCRIPTS', redisScriptsPrefix: 'URANUS.YYS.PARNTERS.SCRIPTS',
redisAgreementsPrefix: 'URANUS.HF.PARNTERS.Agreements', redisAgreementsPrefix: 'URANUS.YYS.PARNTERS.Agreements',
fetchInfo: '/chaos/partner', fetchInfo: '/chaos/partner',
redisInfoPrefix: 'URANUS.HF.PARNTERS.Info', redisInfoPrefix: 'URANUS.YYS.PARNTERS.Info',
}; };
config.lockKeys = { config.lockKeys = {
fecthHub: 'URANUS.HF.HUBS.LOCK', fecthHub: 'URANUS.YYS.HUBS.LOCK',
fecteToken: 'URANUS.HF.TOKEN.LOCK', fecteToken: 'URANUS.YYS.TOKEN.LOCK',
token: 'URANUS.HF.TOKEN', token: 'URANUS.YYS.TOKEN',
fecthParnters: 'URANUS.PARNTERS.LOCK', fecthParnters: 'URANUS.YYS.PARNTERS.LOCK',
taskPrefix: 'URANUS.HFH5.TASK', taskPrefix: 'URANUS.YYS.TASK',
}; };
config.sequelize = { config.sequelize = {
...@@ -100,7 +102,7 @@ module.exports = () => { ...@@ -100,7 +102,7 @@ module.exports = () => {
}], }],
}; };
config.callbackUrl = process.env.CALLBACK_URL || 'https://dev-nginx.jianbing.com/gjjh5/callback'; config.callbackUrl = process.env.CALLBACK_URL || 'https://dev-nginx.jianbing.com/yysh5/callback';
return config; 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