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

Merge branch 'test' into user-rpc

parents 3fb32c53 54b4c195
......@@ -8,10 +8,10 @@ interface LogisticsServiceInterface
{
/**
* 将物流单号推送到物流中心,物流中心会时刻监视运单变化实时推送给订阅模块
* @param $module 模块名称
* @param $logisticsCode 物流公司编码
* @param $logisticsNo 物流单号
* @param string $module 模块名称
* @param array $logisticsInfo 物流公司信息 $logisticsInfo = [['logistics_code' => '', 'logistics_no' => '']];
* @return mixed
*/
public function push($module,$logisticsCode, $logisticsNo);
public function push($module,$logisticsInfo);
}
\ No newline at end of file
<?php
/**
* Created by PhpStorm. 仓库原料rpc
* User: fuyunnan
* Date: 2020/3/16
* Time: 15:07
*/
namespace Meibuyu\Micro\Service\Interfaces\Store;
interface StoreMaterialServiceInterface
{
/**
* description:创建原料入库单
*
* data[master][warehousing_date]:2020-01-08 入库时间
* data[master][creator_id]:12 创建人id
* data[master][warehouse_id]:2 仓库id
* data[master][type_id]:1 入库单类型
* data[master][source_no]:no_121333 来源单号 (选填)
* data[master][remark]:备注 (选填)
* data[master][status]:2 状态 (选填 不填默认1)
*
* 产品二维数组
* data[goods][0][material_id]:16 产品id
* data[goods][0][should_cnt]:133 应入数量
* data[goods][0][real_cnt]:10 实入数量
* data[goods][1][material_id]:18
* data[goods][1][should_cnt]:10
* data[goods][1][real_cnt]:15
*
* author: fuyunnan
* @param array $attributes 需要入库的数组 格式请参考yapi 入库添加
* @return array
* @throws
* Date: 2020/7/6
*/
public function createMaterialWarehousing(array $attributes): 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