Commit b32a4a0e authored by 王源's avatar 王源 🎧

优化原料rpc接口,添加命名空间

parent b81cd596
......@@ -6,7 +6,7 @@
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces;
namespace Meibuyu\Micro\Service\Interfaces\Product;
interface MaterialServiceInterface
{
......@@ -21,18 +21,18 @@ interface MaterialServiceInterface
/**
* 通过id列表获取原料数组
* @param array $idList 原料id的列表
* @param array $idList 原料id的列表, 默认去重
* @param array $columns 原料表的字段,默认显示全部
* @return array
* @return array 默认keyBy('id')
*/
public function getByIdList(array $idList, array $columns = ['*']): array;
/**
* 通过内部code列表获取原料列表
* @param array $codeList
* @param array $codeList 默认去重
* @param array $columns
* @return array
* @return array 默认keyBy('internal_code')
*/
public function getListByCodeList(array $codeList, array $columns = ['id']);
public function getByCodeList(array $codeList, array $columns = ['id']);
}
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