lip 6 часов назад
Родитель
Сommit
b7710256d8
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/Models/LhcOrder.php

+ 2 - 1
app/Models/LhcOrder.php

@@ -12,7 +12,8 @@ class LhcOrder extends BaseModel
 
     public function lottery()
     {
-        return $this->belongsTo(LhcLottery::class, 'issue', 'issue')->field('issue,type,open_code, open_time,is_settlement');
+        return $this->belongsTo(LhcLottery::class, 'issue', 'issue')
+            ->select('issue', 'type', 'open_code', 'open_time', 'is_settlement');
     }
  
 }