Commit 8b0e5bdb authored by 王源's avatar 王源
Browse files

Merge branch 'rpc/shopify' into test

parents a0129187 b8f27b33
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -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
+1 −1

File changed.

Contains only whitespace changes.