6
0
Fork 0
release
panliang 2022-05-13 13:46:59 +08:00
parent 9772dc4e12
commit 093e8770fe
2 changed files with 3 additions and 4 deletions

View File

@ -41,7 +41,8 @@ class ProfitSuccessForm extends Form implements LazyRenderable
$service = new DistributeService();
if ($input['pay_way'] === PayWay::WxpayTransfer->value && !$order->pay_no) {
$order->update([
'pay_no' => serial_number()
'pay_no' => serial_number(),
'pay_way' => PayWay::WxpayTransfer->value
]);
}
try {

View File

@ -113,9 +113,7 @@ class DistributeService
'desc' => '推荐返利',
]);
$this->success($profit, [
'paid_at' => data_get($result, 'payment_time')
]);
$this->success($profit, $result);
}
/**