diff --git a/src/crmeb/app/kefuapi/controller/Product.php b/src/crmeb/app/kefuapi/controller/Product.php index d103e3a0..74bcd745 100644 --- a/src/crmeb/app/kefuapi/controller/Product.php +++ b/src/crmeb/app/kefuapi/controller/Product.php @@ -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)); } } diff --git a/src/crmeb/app/services/message/service/StoreServiceLogServices.php b/src/crmeb/app/services/message/service/StoreServiceLogServices.php index 7f5f663c..f66b68c6 100644 --- a/src/crmeb/app/services/message/service/StoreServiceLogServices.php +++ b/src/crmeb/app/services/message/service/StoreServiceLogServices.php @@ -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);