Commit 5735c295 by 王召彬

Merge branch 'ft-autoAddItems' into test

parents dea2d985 981fa588
# 2.0.12
- 配合前端改版后端大调整
# 2.0.11
- 砍价订单枚举状态加订单删除
......
......@@ -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
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