Commit 0052a841 authored by  林继鑫's avatar 林继鑫

增加 尺寸和颜色 rpc

parent f302ba1e
......@@ -8,6 +8,9 @@
namespace Meibuyu\Rpc\Service\Interfaces\Product;
use App\Model\Color;
use App\Model\Size;
interface ProductServiceInterface
{
......@@ -494,4 +497,21 @@ interface ProductServiceInterface
* @param $data
*/
public function exportProductionToStore($data);
/**
* 获取颜色
* @param $colorsId
* @param array $columns 默认['id', 'code', 'cn_name','en_name']
* @return array
*/
public function getColors($colorsId,array $columns = ['id', 'code', 'cn_name','en_name']);
/**
* 获取尺寸
* @param $sizeIds
* @param array $columns 默认['id', 'name']
* @return array
*/
public function getSize($sizeIds,array $columns = ['id', 'name']);
}
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