From 13c664b4481521acf76412272fcc116a7062d7a5 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Fri, 26 Feb 2021 14:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=9C=8D=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=A0=E6=95=88=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/crmeb/app/kefuapi/controller/Product.php | 8 ++++---- .../services/message/service/StoreServiceLogServices.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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);