修复随机错误
This commit is contained in:
parent
bbf53a6a1f
commit
8e1532f17d
@ -177,7 +177,7 @@ class SpuRepository extends BaseRepository
|
|||||||
},
|
},
|
||||||
'issetCoupon',
|
'issetCoupon',
|
||||||
]);
|
]);
|
||||||
$list = $query->setOption('field', [])->field($this->productFiled)->orderRaw('rand()')->select();
|
$list = $query->setOption('field', [])->field($this->productFiled)->select();
|
||||||
$append = ['stop_time','svip_price','show_svip_info','is_svip_price'];
|
$append = ['stop_time','svip_price','show_svip_info','is_svip_price'];
|
||||||
|
|
||||||
$list->append($append);
|
$list->append($append);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user