更新商铺商品显示数量

This commit is contained in:
mkm 2023-04-28 15:20:44 +08:00
parent 901e977025
commit 29a109173a

View File

@ -86,7 +86,7 @@ class Merchant extends BaseModel
->where((new ProductDao())->productShow())
->field('mer_id,product_id,store_name,image,price,is_show,status,is_gift_bag,is_good,cate_id')
->order('sort DESC, create_time DESC')
->limit(3)
->limit(10)
->select()->append(['show_svip_info']);
if ($list) {
$data = [];
@ -109,7 +109,7 @@ class Merchant extends BaseModel
->whereLike('delivery_way',"%1%")
->field('mer_id,product_id,store_name,image,price,is_show,status,is_gift_bag,is_good,cate_id')
->order('sort DESC, create_time DESC')
->limit(3)
->limit(10)
->select();
if ($list) {
$data = [];