调整打款凭证上传时报错
parent
fab6974b83
commit
a407335bed
|
|
@ -136,7 +136,7 @@ class OrderService
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function payOrder(DealerOrder $order, string $payImage)
|
||||
public function payOrder(DealerOrder $order, ?string $payImage)
|
||||
{
|
||||
if (!$order->isPendinged()) {
|
||||
throw new BizException('订单状态异常,请刷新后再试');
|
||||
|
|
@ -144,7 +144,7 @@ class OrderService
|
|||
$order->update([
|
||||
'status' => DealerOrderStatus::Confirming,
|
||||
'pay_image' => $payImage,
|
||||
'pay_info' => $order->getConsignorPayInfo()??null,
|
||||
'pay_info' => $order->getConsignorPayInfo() ?? null,
|
||||
'pay_time' => now(),
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue