Commit f9b7d491 by xmy

feat:销量前三商品

parent ac81e738
...@@ -23,6 +23,7 @@ use Swoft\Core\ResultInterface; ...@@ -23,6 +23,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId) * @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId)
* @method ResultInterface deferAfterServiceTmp($storeId) * @method ResultInterface deferAfterServiceTmp($storeId)
* @method ResultInterface deferAdminCountActivity($storeId) * @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetTopThreeSales($storeId)
* Interface GoodsInterface * Interface GoodsInterface
* @package Hdll\Services\Goods\Lib * @package Hdll\Services\Goods\Lib
*/ */
...@@ -155,4 +156,13 @@ interface GoodsInterface ...@@ -155,4 +156,13 @@ interface GoodsInterface
* @author work * @author work
*/ */
public function adminCountGoods($storeId); public function adminCountGoods($storeId);
/**
* 销量前3的商品
* @param $storeId
* @return mixed
* @author work
*/
public function getTopThreeSales($storeId);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment