lip пре 21 часа
родитељ
комит
4513f7d6ac
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Models/LhcOrder.php

+ 1 - 1
app/Models/LhcOrder.php

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