feat : wechatPay callback
This commit is contained in:
@@ -64,7 +64,7 @@ class RefundOrder extends Model
|
|||||||
->whereIn('refund_status',[
|
->whereIn('refund_status',[
|
||||||
RefundCode::WAIT_REFUND,
|
RefundCode::WAIT_REFUND,
|
||||||
RefundCode::REFUND_SUCCESS
|
RefundCode::REFUND_SUCCESS
|
||||||
])->sum('refund_amount') ?? 0;
|
])->sum('refund_money') ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSuccessMoneyByOrderId(int $orderId, int $type): mixed
|
public function getSuccessMoneyByOrderId(int $orderId, int $type): mixed
|
||||||
@@ -75,7 +75,7 @@ class RefundOrder extends Model
|
|||||||
->whereIn('refund_status',[
|
->whereIn('refund_status',[
|
||||||
RefundCode::WAIT_REFUND,
|
RefundCode::WAIT_REFUND,
|
||||||
RefundCode::REFUND_SUCCESS
|
RefundCode::REFUND_SUCCESS
|
||||||
])->sum('refund_amount') ?? 0;
|
])->sum('refund_money') ?? 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user