Commit d941cbce authored by zhangdongying's avatar zhangdongying

团队仓库和分销产品RPC

parent 60a88cfc
<?php
/**
* 分销产品
*
* @author zhangdongying
* @date 2023-09-19
*/
declare(strict_types=1);
namespace Meibuyu\Rpc\Service\Interfaces\Store;
interface DistributionProductServiceInterface
{
/**
* 通过子SKU数组获取列表
*
* @param array $childSkus 子SKU数组
* @param array $columns 字段数组
* @return array
*/
public function getListByChildSkus(array $childSkus, array $columns = []): array;
}
\ No newline at end of file
<?php
/**
* (团队)仓库
*
* @author zhangdongying
* @date 2023-09-19
*/
declare(strict_types=1);
namespace Meibuyu\Rpc\Service\Interfaces\Store;
interface TeamWarehouseServiceInterface
{
/**
* 通过仓库名称数组获取列表
*
* @param array $names 仓库名称数组
* @param array $columns 列名数组
* @param array $relations 关联数组
* @return array 默认keyBy('name')
*/
public function getListByNames(array $names, array $columns = ['*'], array $relations = []): array;
}
\ 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