mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
【程序目录】缩略图读取优化
This commit is contained in:
parent
ae17f903c0
commit
7f9a5c2f69
@ -46,7 +46,7 @@ class StoreIntegralController
|
||||
]);
|
||||
$where['is_show'] = 1;
|
||||
$list = $this->services->getIntegralList($where);
|
||||
return app('json')->successful(get_thumb_water($list));
|
||||
return app('json')->successful(get_thumb_water($list, 'mid'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -67,10 +67,10 @@ class StoreProductController
|
||||
if (!$where['ids']) {
|
||||
unset($where['ids']);
|
||||
}
|
||||
$type = 'mid';
|
||||
$type = 'big';
|
||||
$field = ['image', 'recommend_image'];
|
||||
if ($where['store_name']) {
|
||||
$type = 'small';
|
||||
$type = 'big';
|
||||
$field = ['image'];
|
||||
}
|
||||
$list = $this->services->getGoodsList($where, (int)$request->uid());
|
||||
|
||||
@ -43,7 +43,7 @@ class HomeServices extends BaseServices
|
||||
$item['star'] = '3.0';
|
||||
}
|
||||
}
|
||||
$info['productList'] = get_thumb_water($productList, 'mid');
|
||||
$info['productList'] = get_thumb_water($productList, 'big');
|
||||
}
|
||||
$data['list'] = array_merge($list);
|
||||
$data['count'] = $category->getCidCount();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user