修复客服方法报错问题,删除无效方法

This commit is contained in:
evoxwht 2021-02-26 14:06:23 +08:00
parent 15d9f332d5
commit 13c664b448
2 changed files with 5 additions and 5 deletions

View File

@ -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));
}
}

View File

@ -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);