|
@@ -236,7 +236,7 @@ class AfterSaleLogic extends BaseLogic
|
|
|
$refund_total_amount = $orderGoods['total_pay_price'] - $orderGoods['express_price'];
|
|
$refund_total_amount = $orderGoods['total_pay_price'] - $orderGoods['express_price'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Order::update([ 'is_after_sale' => 1 ], [
|
|
|
|
|
|
|
+ Order::update([ 'is_after_sale' => 1 , 'after_sale_status' => 1], [
|
|
|
[ 'id', '=', $orderGoods['order_id'] ],
|
|
[ 'id', '=', $orderGoods['order_id'] ],
|
|
|
]);
|
|
]);
|
|
|
$params['refund_image'] = isset($params['refund_image']) ? FileService::setFileUrl($params['refund_image']) : '';
|
|
$params['refund_image'] = isset($params['refund_image']) ? FileService::setFileUrl($params['refund_image']) : '';
|
|
@@ -324,7 +324,7 @@ class AfterSaleLogic extends BaseLogic
|
|
|
throw new \think\Exception('售后处理中,不允许撤销申请');
|
|
throw new \think\Exception('售后处理中,不允许撤销申请');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- Order::update([ 'is_after_sale' => 0 ], [
|
|
|
|
|
|
|
+ Order::update([ 'is_after_sale' => 0,'after_sale_status' => 0 ], [
|
|
|
[ 'id', '=', $afterSale['order_id'] ],
|
|
[ 'id', '=', $afterSale['order_id'] ],
|
|
|
]);
|
|
]);
|
|
|
|
|
|