Commit 9be3db73 authored by 王源's avatar 王源 🎧

添加子skuRPC服务

parent f87e7d49
<?php
/**
* Created by PhpStorm.
* User: 王源
* Date: 2020/1/9
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces;
interface ProductChildServiceInterface
{
/**
* 获取单个数据
* @param int $id 子SKU id
* @param array $columns
* @param array $relations 子SKU的关联关系
* @return array
*/
public function get($id, array $columns = ['*'], array $relations = []): array;
/**
* 通过id列表获取产品数组
* @param array $idList 子SKUid的列表
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系
* @return array
*/
public function getByIdList(array $idList, array $columns = ['*'], array $relations = []): array;
}
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