Commit 4f27ec64 authored by 姜登's avatar 姜登

gjj

parent 188cd1d2
Pipeline #8638 passed with stage
in 5 seconds
......@@ -150,6 +150,11 @@ class TaskController extends Controller {
status: 'failure',
note: { message: err.message },
};
if (!/token|appKey/.test(err.message)) {
if (/[a-zA-Z]+/.test(err.message)) {
taskNote.note = '系统错误, 请稍后再试';
}
}
}
break;
default:
......
......@@ -20,7 +20,7 @@ module.exports = () => {
appSecret: '6bc693e3ce84478482880a3600c9a78c',
};
config.taskAPI = {
host: 'http://tm.51gjj.com:4821',
host: 'http://tm.51gjj.com:4831',
createTaskUrl: '/gjjServices/createGjjTask',
fetchCodeUrl: '/gjjServices/queryGjjCode',
submitTaskUrl: '/gjjServices/queryGjj',
......@@ -65,7 +65,7 @@ module.exports = () => {
};
config.washAPI = {
host: 'http://tt.51gjj.com:11101',
host: 'http://tt.51gjj.com:11007',
washUrl: '/v2/gjj/analyzeGjj',
};
......@@ -94,7 +94,7 @@ module.exports = () => {
baseDir: 'model',
dialect: 'mysql',
host: 'rm-bp1272001633qc0x9o.mysql.rds.aliyuncs.com',
database: 'data_service_dev',
database: 'data_service_uat',
username: 'hexin',
password: 'gYUHszn9#q',
port: 3306,
......
......@@ -24,7 +24,7 @@ module.exports = () => {
appSecret: '6bc693e3ce84478482880a3600c9a78c',
};
config.taskAPI = {
host: process.env.TASKAPI_HOST || 'http://tm.51gjj.com:4821',
host: process.env.TASKAPI_HOST || 'http://tm.51gjj.com:4831',
createTaskUrl: '/gjjServices/createGjjTask',
fetchCodeUrl: '/gjjServices/queryGjjCode',
submitTaskUrl: '/gjjServices/queryGjj',
......@@ -56,7 +56,7 @@ module.exports = () => {
};
config.washAPI = {
host: process.env.WASHAPI_HOST || 'http://tt.51gjj.com:11101',
host: process.env.WASHAPI_HOST || 'http://tt.51gjj.com:11007',
washUrl: '/v2/gjj/analyzeGjj',
};
......
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