Commit 5f98b964 authored by 姜登's avatar 姜登

sb

parent 2b0bc7a1
Pipeline #12967 passed with stage
in 16 seconds
......@@ -77,11 +77,11 @@ class OrderController extends Controller {
let { appKey, orderId, orderSn } = ctx.request.body.params;
orderId = orderId || orderSn;
const appKeyInfo = await service.partner.fetchInfo(appKey);
if (!(appKeyInfo && appKeyInfo.valid === true && appKeyInfo.enableHfData === true)) {
if (!(appKeyInfo && appKeyInfo.valid === true && appKeyInfo.enableSsData === true)) {
return ctx.fail('未开通此服务');
}
await service.signature.signatureCheck(ctx.request.body);
const data = await service.order.getOneByOrderId({ orderId });
// await service.signature.signatureCheck(ctx.request.body);
const data = await service.order.getOneByOrderId({ orderId, status: 'success' });
if (data) {
if (data.status === 'success') {
const result = await service.storage.read(orderId, appKey);
......
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