Commit 288378c0 authored by 何娜's avatar 何娜

test3

parent 131f875a
Pipeline #21344 passed with stage
in 4 seconds
...@@ -150,10 +150,10 @@ class OrderController extends Controller { ...@@ -150,10 +150,10 @@ class OrderController extends Controller {
async orderShow() { async orderShow() {
const { ctx, service } = this; const { ctx, service } = this;
const { appKey, orderId } = ctx.params; const { appKey, orderId } = ctx.params;
const appKeyInfo = await service.partner.fetchInfo(appKey); // const appKeyInfo = await service.partner.fetchInfo(appKey);
if (!(appKeyInfo && appKeyInfo.valid === true && appKeyInfo.enableSsView === true)) { // if (!(appKeyInfo && appKeyInfo.valid === true && appKeyInfo.enableSsView === true)) {
return ctx.fail('未开通此服务'); // return ctx.fail('未开通此服务');
} // }
const data = await service.order.getOneByOrderId({ orderId, status: 'success' }); const data = await service.order.getOneByOrderId({ orderId, status: 'success' });
ctx.logger.info('orderShowRead', JSON.stringify(data)); ctx.logger.info('orderShowRead', JSON.stringify(data));
if (data) { if (data) {
......
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