Loading src/Service/Interfaces/Store/DistributionProductServiceInterface.php 0 → 100644 +22 −0 Original line number Diff line number Diff line <?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 src/Service/Interfaces/Store/TeamWarehouseServiceInterface.php 0 → 100644 +23 −0 Original line number Diff line number Diff line <?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 Loading
src/Service/Interfaces/Store/DistributionProductServiceInterface.php 0 → 100644 +22 −0 Original line number Diff line number Diff line <?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
src/Service/Interfaces/Store/TeamWarehouseServiceInterface.php 0 → 100644 +23 −0 Original line number Diff line number Diff line <?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