mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-10 17:42:50 +00:00
修复客服方法报错问题,删除无效方法
This commit is contained in:
parent
15d9f332d5
commit
13c664b448
@ -42,7 +42,7 @@ class Product extends AuthController
|
||||
*/
|
||||
public function getCartProductList($uid, string $store_name = '')
|
||||
{
|
||||
return $this->success(get_thumb_water($this->services->getProductCartList((int)$uid, $store_name)));
|
||||
return $this->success($this->services->getProductCartList((int)$uid, $store_name));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -53,7 +53,7 @@ class Product extends AuthController
|
||||
*/
|
||||
public function getVisitProductList($uid, string $store_name = '')
|
||||
{
|
||||
return $this->success(get_thumb_water($this->services->getVisitProductList((int)$uid, $store_name)));
|
||||
return $this->success($this->services->getVisitProductList((int)$uid, $store_name));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -67,7 +67,7 @@ class Product extends AuthController
|
||||
*/
|
||||
public function getProductHotSale($uid, string $store_name = '')
|
||||
{
|
||||
return $this->success(get_thumb_water($this->services->getProductHotSale((int)$uid, $store_name)));
|
||||
return $this->success($this->services->getProductHotSale((int)$uid, $store_name));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -80,6 +80,6 @@ class Product extends AuthController
|
||||
*/
|
||||
public function getProductInfo($id)
|
||||
{
|
||||
return $this->success(get_thumb_water($this->services->getProductInfo((int)$id)), 'big', ['image', 'slider_image']);
|
||||
return $this->success($this->services->getProductInfo((int)$id));
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ class StoreServiceLogServices extends BaseServices
|
||||
['is_del', '=', 0],
|
||||
['is_show', '=', 1],
|
||||
];
|
||||
$productList = get_thumb_water($productServices->getProductArray($where, '*', 'id'));
|
||||
$productList = $productServices->getProductArray($where, '*', 'id');
|
||||
}
|
||||
/** @var StoreOrderServices $orderServices */
|
||||
$orderServices = app()->make(StoreOrderServices::class);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user