Commit cb5c0800 authored by 姜登's avatar 姜登

sb

parent e3b181ce
Pipeline #13670 passed with stage
in 3 seconds
......@@ -48,6 +48,10 @@ class OrderController extends Controller {
const { appKey, userId, notifyUrl, backUrl } = ctx.request.body;
let { orderId } = ctx.request.body;
// const orderId = await service.signature.createOrderId(ctx.request.body);
const appKeyInfo = await service.partner.fetchInfo(appKey);
if (!(appKeyInfo && appKeyInfo.valid === true && appKeyInfo.enableSsData === true)) {
return ctx.fail('未开通此服务');
}
const toDbObj = {
orderId,
taskId: '',
......
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