Merge branch 'dev' of https://gitea.lihaink.cn/mkm/multi-store into dev
This commit is contained in:
commit
51948aaf35
@ -114,9 +114,10 @@ class PayNotifyLogic extends BaseLogic
|
||||
];
|
||||
OrderLogic::writeOff($params);
|
||||
}
|
||||
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||
return true;
|
||||
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||
// PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -241,7 +242,7 @@ class PayNotifyLogic extends BaseLogic
|
||||
|
||||
|
||||
// Redis::send('push-platform-print', ['id' => $order['id']], 60);
|
||||
// PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'store_merchant', 'msg' => '您有一笔新的订单']);
|
||||
}
|
||||
|
||||
//采购款支付后如果有对应的冻结的话就去反对应的log
|
||||
|
@ -239,6 +239,9 @@ class StoreOrderLogic extends BaseLogic
|
||||
$order['refund_status_name'] = OrderEnum::refundStatus($order['refund_status']) ?? '';
|
||||
$order['refund_type_name'] = OrderEnum::refundType($order['refund_type']) ?? '';
|
||||
$order['pay_type_name'] =PayEnum::getPaySceneDesc($order['pay_type']) ?? '';
|
||||
if($order['pay_type'] == PayEnum::PURCHASE_FUNDS && in_array($order['shipping_type'],[1,2])){
|
||||
$order['pay_type_name'] = "采购款";
|
||||
}
|
||||
if ($order['pay_type'] == 19){
|
||||
$order['deduction_price'] = "0.00";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user