删除信息

This commit is contained in:
mkm 2024-01-21 14:36:13 +08:00
parent 96f5c595cf
commit 0246268c70

View File

@ -1002,22 +1002,6 @@ class StoreOrderCreateRepository extends StoreOrderRepository
];
}
if ($order['consumption_money'] > 0) {
$bills[] = [
'uid' => $uid,
'link_id' => $_order->order_id,
'pm' => 0,
'title' => '红包抵扣',
'category' => 'mer_integral',
'type' => 'deduction',
'number' => $order['consumption_money'],
'balance' => 0,
'mark' => '购买商品使用积分抵扣' . $order['consumption_money'] . '元',
'mer_id' => $order['mer_id'],
'status' => 1
];
}
//创建发票信息
if (isset($receipt_data[$_order['mer_id']])) {
app()->make(StoreOrderReceiptRepository::class)->add($receipt_data[$_order['mer_id']], $_order);