Commit fa4b447a authored by 何娜's avatar 何娜

taxH5 修改配置

parent ebe4fee2
Pipeline #4355 passed with stage
in 53 seconds
# it_h5_server # taxh5
个税H5认证服务 个税H5认证服务
......
...@@ -98,7 +98,7 @@ module.exports = () => { ...@@ -98,7 +98,7 @@ module.exports = () => {
// appSecret: '0BDD1ECC147503C477563E5C1438C366D70E4F80', // appSecret: '0BDD1ECC147503C477563E5C1438C366D70E4F80',
// }; // };
config.callbackUrl = 'https://dev-nginx.jianbing.com/it_h5_server/callback'; config.callbackUrl = 'https://dev-nginx.jianbing.com/taxh5/callback';
return config; return config;
}; };
...@@ -4,7 +4,7 @@ module.exports = () => { ...@@ -4,7 +4,7 @@ module.exports = () => {
const config = exports = {}; const config = exports = {};
config.debug = true; config.debug = true;
config.logger = { config.logger = {
dir: '/jianbing/logs/it_h5_server', dir: '/jianbing/logs/taxh5',
}; };
config.projectRootPath = '/IncomeTax'; config.projectRootPath = '/IncomeTax';
...@@ -18,7 +18,7 @@ module.exports = () => { ...@@ -18,7 +18,7 @@ module.exports = () => {
}, },
}; };
config.taskAPI = { config.taskAPI = {
host: 'http://ts1.51gjj.com:6824', host: process.env.TASKAPI_HOST,
fetchHubsUrl: '', fetchHubsUrl: '',
createTaskUrl: '/IncomeTax/createItTask', createTaskUrl: '/IncomeTax/createItTask',
fetchCodeUrl: '/IncomeTax/getItCode', fetchCodeUrl: '/IncomeTax/getItCode',
...@@ -27,7 +27,7 @@ module.exports = () => { ...@@ -27,7 +27,7 @@ module.exports = () => {
}; };
config.partnerAPI = { config.partnerAPI = {
host: process.env.ZEUS_API_HOST, host: process.env.PARTNERAPI_HOST,
fetchTheme: '/chaos/partners/theme', fetchTheme: '/chaos/partners/theme',
fetchScripts: '/chaos/partners/scripts', fetchScripts: '/chaos/partners/scripts',
redisThemePrefix: 'URANUS.HF.PARNTERS.THEME', redisThemePrefix: 'URANUS.HF.PARNTERS.THEME',
...@@ -35,7 +35,7 @@ module.exports = () => { ...@@ -35,7 +35,7 @@ module.exports = () => {
}; };
config.scriptsAPI = { config.scriptsAPI = {
host: process.env.ZEUS_API_HOST, host: process.env.SCRIPTSAPI_HOST,
fetchScriptsUrl: '/chaos/it/two_dimension_array/queries', fetchScriptsUrl: '/chaos/it/two_dimension_array/queries',
fetchOneScriptUrl: '/chaos/it/two_dimension_array/info', fetchOneScriptUrl: '/chaos/it/two_dimension_array/info',
fetchParamsInfoUrl: '/chaos/it/login_param_map', fetchParamsInfoUrl: '/chaos/it/login_param_map',
...@@ -49,7 +49,7 @@ module.exports = () => { ...@@ -49,7 +49,7 @@ module.exports = () => {
}; };
config.storageAPI = { config.storageAPI = {
host: process.env.STORAGE_API_HOST, host: process.env.STORAGEAPI_HOST,
writeUrl: '/data', writeUrl: '/data',
readUrl: '/IncomeTax', readUrl: '/IncomeTax',
writeType: 'incomeTax', writeType: 'incomeTax',
...@@ -62,7 +62,7 @@ module.exports = () => { ...@@ -62,7 +62,7 @@ module.exports = () => {
}; };
config.signatureAPI = { config.signatureAPI = {
host: process.env.SIGNATURE_API_HOST, host: process.env.SIGNATUREAPI_HOST,
fetchTokenUrl: '/Access/GetToken', fetchTokenUrl: '/Access/GetToken',
fetchOrderIdUrl: '/Order/GetOrderSn', fetchOrderIdUrl: '/Order/GetOrderSn',
signatureUrl: '/Access/SignValidityCheck', signatureUrl: '/Access/SignValidityCheck',
...@@ -78,15 +78,6 @@ module.exports = () => { ...@@ -78,15 +78,6 @@ module.exports = () => {
taskPrefix: 'URANUS.TASK', taskPrefix: 'URANUS.TASK',
}; };
config.lockKeys = {
fecthHub: 'URANUS.HF.HUBS.LOCK',
fecteToken: 'URANUS.HF.TOKEN.LOCK',
token: 'URANUS.HF.TOKEN',
fecthParnters: 'URANUS.PARNTERS.LOCK',
taskPrefix: 'URANUS.TASK',
};
config.projectRootPath = '';
config.sequelize = { config.sequelize = {
datasources: [{ datasources: [{
// 东八时区 // 东八时区
...@@ -94,19 +85,14 @@ module.exports = () => { ...@@ -94,19 +85,14 @@ module.exports = () => {
delegate: 'model', delegate: 'model',
baseDir: 'model', baseDir: 'model',
dialect: 'mysql', dialect: 'mysql',
host: process.env.MYSQL_HOST, host: process.env.MYSQL_PACHONG_HOST,
database: 'data_service_uat', database: process.env.MYSQL_DATA_SERVER_DB_NAME,
username: process.env.MYSQL_USER, username: process.env.MYSQL_USER,
password: process.env.MYSQL_PWD, password: process.env.MYSQL_PWD,
port: 3306, port: process.env.MYSQL_PORT,
}], }],
}; };
config.GJJ_OpenAPI = {
appKey: '9FBBA75BBFC24401AA6A76AEFC277346',
appSecret: 'D7FEA664E0CD4336BEAA1B3569393A301DBB6995',
};
config.callbackUrl = process.env.CALLBACK_URL; config.callbackUrl = process.env.CALLBACK_URL;
return config; return config;
......
{ {
"name": "it_h5_server", "name": "taxh5",
"version": "1.0.0", "version": "1.0.0",
"description": "个税H5认证服务", "description": "个税H5认证服务",
"private": true, "private": true,
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
"egg-validate": "^2.0.2", "egg-validate": "^2.0.2",
"mysql2": "^1.6.4", "mysql2": "^1.6.4",
"node-cache": "^4.2.0", "node-cache": "^4.2.0",
"node-uuid": "^1.4.8" "node-uuid": "^1.4.8",
"uuid": "^3.3.2"
}, },
"devDependencies": { "devDependencies": {
"autod": "^3.0.1", "autod": "^3.0.1",
...@@ -30,9 +31,9 @@ ...@@ -30,9 +31,9 @@
"node": ">=8.9.0" "node": ">=8.9.0"
}, },
"scripts": { "scripts": {
"start": "egg-scripts start --daemon --title=egg-server-it_h5_server", "start": "egg-scripts start --daemon --title=egg-server-taxh5",
"stop": "egg-scripts stop --title=egg-server-it_h5_server", "stop": "egg-scripts stop --title=egg-server-taxh5",
"docker": "eggctl start --title=egg-server-it_h5_serverr", "docker": "eggctl start --title=egg-server-taxh5",
"dev": "egg-bin dev", "dev": "egg-bin dev",
"debug": "egg-bin debug", "debug": "egg-bin debug",
"test": "npm run lint -- --fix && npm run test-local", "test": "npm run lint -- --fix && npm run test-local",
......
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