|
|
@ -37,7 +37,7 @@ class SpendService extends Service
|
|
|
|
$spend->event_status = 1;
|
|
|
|
$spend->event_status = 1;
|
|
|
|
$spend->save();
|
|
|
|
$spend->save();
|
|
|
|
|
|
|
|
|
|
|
|
// if (in_array($spend->game_id, [335, 336])) {
|
|
|
|
if (in_array($spend->game_id, [335, 336])) {
|
|
|
|
Lanhuo::addOrder([
|
|
|
|
Lanhuo::addOrder([
|
|
|
|
'order_code' => $spend->pay_order_number,
|
|
|
|
'order_code' => $spend->pay_order_number,
|
|
|
|
'user_id' => $spend->user_id,
|
|
|
|
'user_id' => $spend->user_id,
|
|
|
@ -51,7 +51,7 @@ class SpendService extends Service
|
|
|
|
'pay_time' => date('Y-m-d H:i:s', $spend->spend_time),
|
|
|
|
'pay_time' => date('Y-m-d H:i:s', $spend->spend_time),
|
|
|
|
'status' => $spend->pay_status, //支付状态(待支付 0 已支付 1 支付失败 2)
|
|
|
|
'status' => $spend->pay_status, //支付状态(待支付 0 已支付 1 支付失败 2)
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private function saveUserPlayDataCountBySpend(Spend $spend)
|
|
|
|
private function saveUserPlayDataCountBySpend(Spend $spend)
|
|
|
|