|
@@ -12,7 +12,8 @@ class LhcOrder extends BaseModel
|
|
|
|
|
|
|
|
public function lottery()
|
|
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');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|