Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
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
0
Merge Requests
0
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-rpc
Commits
b8f27b33
Commit
b8f27b33
authored
Mar 04, 2021
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
faafecce
Changes
2
Hide 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
...
...
@@ -12,4 +12,4 @@ class RpcException extends \Exception
parent
::
__construct
(
$message
,
$code
,
$previous
);
}
}
\ No newline at end of file
}
src/Service/Interfaces/Product/ShopifyServiceInterface.php
View file @
b8f27b33
...
...
@@ -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
Z
ero
* @throws
Rpc
Exception
* @author
z
ero
*/
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
...
...
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