Commit fa4b447a authored by 何娜's avatar 何娜

taxH5 修改配置

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