Commit 86ac2a73 authored by 何娜's avatar 何娜

taxh5 test

parent f9ff2018
Pipeline #7058 passed with stage
in 7 seconds
......@@ -125,9 +125,11 @@ class PartnerService extends Service {
async notice(order) {
const {ctx, service} = this;
const {orderId, notifyUrl, userId} = order;
ctx.logger.info('【notice】order------',order);
const {orderId, notifyUrl, userId, notice} = order;
const dbRes = await service.order.getOneByOrderId({ orderId, notice: 1 });
if (!dbRes && notifyUrl) {
ctx.logger.info('【notice】dbRes------',dbRes);
if (!dbRes && notifyUrl && notice !== '1') {
try {
const ret = await ctx.curl(notifyUrl, {
charset: 'utf-8',
......
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