|
@@ -148,7 +148,7 @@ class LotteryRecordService
|
|
|
$activities = [];
|
|
|
if (!empty($activityIds)) {
|
|
|
$activityList = LotteryActivity::whereIn('id', $activityIds)
|
|
|
- ->field('id,name,status,lottery_type')
|
|
|
+ ->field('id,name,status,lottery_type,lottery_time')
|
|
|
->select();
|
|
|
foreach ($activityList as $activity) {
|
|
|
$activities[$activity->id] = $activity;
|
|
@@ -182,6 +182,7 @@ class LotteryRecordService
|
|
|
$record->activity_name = $activity ? $activity->name : '';
|
|
|
$record->activity_status = $activity ? $activity->status : 0;
|
|
|
$record->activity_lottery_type = $activity ? $activity->lottery_type : 0;
|
|
|
+ $record->activity_lottery_time = $activity ? $activity->lottery_time : 0;
|
|
|
|
|
|
// 附加奖品信息字段
|
|
|
$prize = $prizes[$record->prize_id] ?? null;
|