Commit f875df1d by zhangsong

Merge branch 'test' of http://git.dev.2b3.cn/tencent/services into test

parents 37a120f2 54a908ea
......@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
*/
interface CraftsmanInterface
{
......@@ -74,4 +75,14 @@ interface CraftsmanInterface
*/
public function getCraftsmenByIds(int $storeId, array $cmanIds);
/**
* 提供给商品服务,用来同步店员所属的商品
*
* @param integer $storeId
* @param array $itemIds
* @param integer $mode 取值:1 表示新增,2 表示去除
* @return boolen
*/
public function syncItems(int $storeId, array $itemIds, int $mode);
}
\ No newline at end of file
......@@ -25,6 +25,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetTopThreeSales($storeId)
* @method ResultInterface deferGetReturnVisitByGoodsIds($storeId, $goodsIds)
* @method ResultInterface deferCountEvaluate($storeId,$time)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
......@@ -175,4 +176,5 @@ interface GoodsInterface
* @author work
*/
public function getReturnVisitByGoodsIds($storeId, $goodsIds);
}
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