Commit 515034e5 authored by 秦俊坤's avatar 秦俊坤

Merge branch 'master' into develop

parents a7e5c7b5 7b8b0d91
<?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;
}
......@@ -307,4 +307,11 @@ interface StoreServiceInterface
* Date: 2020/12/14
*/
public function cancelOrderDeliver($sourceNos, $field): int;
/**
* 通过仓库区域id获取仓库区域信息
* @param array $ids
* @return array
*/
public function getWarehouseAreaByIdList(array $ids = []): array;
}
......@@ -11,9 +11,9 @@ namespace Meibuyu\Rpc\Service\Interfaces\SyncDataService;
interface SyncMagentoServiceInterface
{
/**
* @param $platformOrderId 平台单号id
* @param int $platformOrderId 平台单号id
* @param int $pageSize 每页最多展示50条
* @return array
* @return bool
*/
public function syncOrders($platformOrderId, $pageSize = 10):array;
public function syncOrders(int $platformOrderId, $pageSize = 10):bool;
}
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