Commit 09e49bcf authored by 秦俊坤's avatar 秦俊坤

Merge remote-tracking branch 'origin/master'

parents a24675c6 234aa60b
......@@ -14,4 +14,19 @@ interface FeiShuMessageServiceInterface
* @return mixed
*/
public function batchSendMsg(array $userIds, string $template, array $data);
/**
* Notes: 发送markdown消息
* User: carlos
* DateTime: 2022/1/3 11:25
* @param string $title 标题
* @param string $content 内容(markdown格式)
* @param string $template 模板名称 可以为空
* @param string $application 应用名称
* @param array $receiveUserId 接收人
* @param int $sendUserId 发送人
* @return mixed
*/
public function sendMessage(string $title, string $content, string $template, string $application, array $receiveUserId, int $sendUserId = 0);
}
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2020/10/12
* Time: 9:39
*/
namespace Meibuyu\Rpc\Service\Interfaces\Product;
interface MagentoProductServiceInterface
{
/**
* 通过magento子产品的属性获取仓库单个产品信息
* @param string $platformProductSku magento 平台主sku
* @param string $color 颜色
* @param string $size 尺码
* @param int $siteId
* @return array
*/
public function getChildByAttributes(int $siteId,string $platformProductSku, string $color, string $size): array;
/**
* 通过magento子产品的属性获取仓库批量产品信息
* @param int $siteId
* @param array $attributes
* [['platform_product_sku' => $platformProductSku, 'color' => $color, 'size' => $size]]
* @return array
*/
public function getChildrenByAttributes(int $siteId,array $attributes): array;
}
......@@ -51,4 +51,21 @@ interface ProductionServiceInterface
*/
public function searchUsedPlatformProductChildId($ids);
/**
* 通过生产单号获取生产单产品数据
* @param $productionNo
* @return array
* @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero
*/
public function getProductionProductInfoByNo($productionNo): array;
/**
* 仓库返工出库回调
* @param array $params
* @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero
*/
public function exWarehouseCallback(array $params);
}
<?php
/**
* Created by PhpStorm.
* User: qiudongfang
* Date: ${DATA}
* Time: 下午2:57
*/
namespace Meibuyu\Rpc\Service\Interfaces\SyncDataService;
interface SyncMagentoServiceInterface
{
/**
* @param int $platformOrderId 平台单号id
* @param int $pageSize 每页最多展示50条
* @return bool
*/
public function syncOrders(int $platformOrderId, $pageSize = 10):bool;
}
<?php
/**
* Created by PhpStorm.
* User: Jack
* Date: 2020/1/9
* Time: 15:07
*/
namespace Meibuyu\Rpc\Service\Interfaces\Wms;
interface ChannelAndCompanyInterface
{
/**
* 通过物流渠道id获取物流渠道
* @param array $channelIds $channelIds:渠道id数组, 格式:[1,3,5]
* @return array
*/
public function getChannelByIds(array $channelIds): array;
/**
* 通过公司id获取公司信息
* @param array $companyIds $param:公司ids数组、公司名称, 格式:
* $post=[
* 'ids'=>[1,2,3],
* 'name'=>'华东急速国际',
* ];
*
* @return array
*/
public function getCompanyByIds(array $companyIds): 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