Commit b814cb38 authored by 何娜's avatar 何娜

大小写问题

parent c96a6cf1
Pipeline #6415 passed with stage
in 2 seconds
......@@ -118,6 +118,7 @@ class OrderController extends Controller {
return ctx.fail('未开通此服务');
}
const data = await service.order.getOneByOrderId(orderId);
ctx.logger.info('【orderShow】 getOneByOrderId', data)
if (data) {
if (data.status === 'success' && (data.appkey === appKey)) {
const result = await service.storage.read(orderId, appKey);
......
......@@ -47,9 +47,9 @@ class OrderService extends Service {
return;
}
}
const { appKey, taskId, notifyUrl, backUrl, userId } = order[0];
const { appkey, taskId, notifyUrl, backUrl, userId } = order[0];
if (taskId) {
await ctx.model.TaskStatus.create({ appKey, status: 'init', notifyUrl, backUrl, userId, ...params })
await ctx.model.TaskStatus.create({ appkey, status: 'init', notifyUrl, backUrl, userId, ...params })
} else {
await order[0].update(params);
}
......
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