Commit dd29786e authored by 何娜's avatar 何娜

taxh5 2

parent 528035ee
Pipeline #5035 passed with stage
in 7 seconds
...@@ -149,11 +149,9 @@ class TaskController extends Controller { ...@@ -149,11 +149,9 @@ class TaskController extends Controller {
throw new Error('任务已经结束了'); throw new Error('任务已经结束了');
} }
const {orderId, appkey} = order; const {orderId, appkey} = order;
ctx.logger.info(result.cityId)
const script = await service.scripts.fetchOneScripts(result.data.cityId); const script = await service.scripts.fetchOneScripts(result.data.cityId);
ctx.logger.info('callback-script-----------', JSON.stringify(script))
result.cityId = Number(result.data.cityId); result.cityId = Number(result.data.cityId);
result.cityName = '北京'; result.cityName = script.hub_name || 'unknown';
result.taskId = taskId; result.taskId = taskId;
result.data = JSON.parse(result.data.data); result.data = JSON.parse(result.data.data);
result.orderSn = orderId; result.orderSn = orderId;
......
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