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

yys

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