Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-micro
Commits
b8f27b33
Commit
b8f27b33
authored
Mar 04, 2021
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
faafecce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
RpcException.php
src/Exceptions/RpcException.php
+1
-1
ShopifyServiceInterface.php
src/Service/Interfaces/Product/ShopifyServiceInterface.php
+6
-5
No files found.
src/Exceptions/RpcException.php
View file @
b8f27b33
src/Service/Interfaces/Product/ShopifyServiceInterface.php
View file @
b8f27b33
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
namespace
Meibuyu\Micro\Service\Interfaces\Product
;
namespace
Meibuyu\Micro\Service\Interfaces\Product
;
use
Exception
;
use
Meibuyu\Micro\Exceptions\RpcException
;
use
Meibuyu\Micro\Exceptions\RpcException
;
interface
ShopifyServiceInterface
interface
ShopifyServiceInterface
...
@@ -18,7 +19,7 @@ interface ShopifyServiceInterface
...
@@ -18,7 +19,7 @@ interface ShopifyServiceInterface
* @param $orderId
* @param $orderId
* @param $shopifySiteId
* @param $shopifySiteId
* @return array
* @return array
* @throws
\
Exception
* @throws Exception
*/
*/
public
function
pullOrder
(
$orderId
,
$shopifySiteId
)
:
array
;
public
function
pullOrder
(
$orderId
,
$shopifySiteId
)
:
array
;
...
@@ -36,7 +37,7 @@ interface ShopifyServiceInterface
...
@@ -36,7 +37,7 @@ interface ShopifyServiceInterface
* @param int $sinceId 订单id
* @param int $sinceId 订单id
* @param int $shopifySiteId shopify站点id
* @param int $shopifySiteId shopify站点id
* @return array
* @return array
* @throws
\
Exception
* @throws Exception
* @author Zero
* @author Zero
*/
*/
public
function
pullOrderList
(
$sinceId
,
$shopifySiteId
)
:
array
;
public
function
pullOrderList
(
$sinceId
,
$shopifySiteId
)
:
array
;
...
@@ -47,13 +48,13 @@ interface ShopifyServiceInterface
...
@@ -47,13 +48,13 @@ interface ShopifyServiceInterface
* @param array $params 更新的数据
* @param array $params 更新的数据
* @param int $shopifySiteId shopify站点id
* @param int $shopifySiteId shopify站点id
* @return mixed
* @return mixed
* @throws
\
Exception
* @throws
Rpc
Exception
* @author
Z
ero
* @author
z
ero
*/
*/
public
function
updateOrder
(
$orderId
,
$params
,
$shopifySiteId
);
public
function
updateOrder
(
$orderId
,
$params
,
$shopifySiteId
);
/**
/**
*
为shopify订单创建
发货记录
*
创建shopify订单
发货记录
* 参数示例: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#create-2020-07
* 参数示例: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#create-2020-07
* location_id不传会默认拿取系统有的数据,拿不到报错
* location_id不传会默认拿取系统有的数据,拿不到报错
* @param int $orderId
* @param int $orderId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment