Commit 8b0e5bdb authored by 王源's avatar 王源 🎧

Merge branch 'rpc/shopify' into test

parents a0129187 b8f27b33
......@@ -12,4 +12,4 @@ class RpcException extends \Exception
parent::__construct($message, $code, $previous);
}
}
\ No newline at end of file
}
......@@ -8,6 +8,7 @@
namespace Meibuyu\Micro\Service\Interfaces\Product;
use Exception;
use Meibuyu\Micro\Exceptions\RpcException;
interface ShopifyServiceInterface
......@@ -18,7 +19,7 @@ interface ShopifyServiceInterface
* @param $orderId
* @param $shopifySiteId
* @return array
* @throws \Exception
* @throws Exception
*/
public function pullOrder($orderId, $shopifySiteId): array;
......@@ -36,7 +37,7 @@ interface ShopifyServiceInterface
* @param int $sinceId 订单id
* @param int $shopifySiteId shopify站点id
* @return array
* @throws \Exception
* @throws Exception
* @author Zero
*/
public function pullOrderList($sinceId, $shopifySiteId): array;
......@@ -47,13 +48,13 @@ interface ShopifyServiceInterface
* @param array $params 更新的数据
* @param int $shopifySiteId shopify站点id
* @return mixed
* @throws \Exception
* @author Zero
* @throws RpcException
* @author zero
*/
public function updateOrder($orderId, $params, $shopifySiteId);
/**
* 为shopify订单创建发货记录
* 创建shopify订单发货记录
* 参数示例: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#create-2020-07
* location_id不传会默认拿取系统有的数据,拿不到报错
* @param int $orderId
......
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