|
@@ -12,7 +12,7 @@ class GoodsEval Extends Model
|
|
|
protected $autoWriteTimestamp=true;
|
|
|
protected $updateTime=null;
|
|
|
public function user(){
|
|
|
- return $this->belongsTo(User::class);
|
|
|
+ return $this->belongsTo(User::class)->setEagerlyType(0);
|
|
|
}
|
|
|
|
|
|
public static function getEval(OrderInfo $info){
|