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
515034e5
Commit
515034e5
authored
Apr 11, 2022
by
秦俊坤
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
a7e5c7b5
7b8b0d91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
3 deletions
+43
-3
MagentoProductServiceInterface.php
...ice/Interfaces/Product/MagentoProductServiceInterface.php
+33
-0
StoreServiceInterface.php
src/Service/Interfaces/Store/StoreServiceInterface.php
+7
-0
SyncMagentoServiceInterface.php
...nterfaces/SyncDataService/SyncMagentoServiceInterface.php
+3
-3
No files found.
src/Service/Interfaces/Product/MagentoProductServiceInterface.php
0 → 100644
View file @
515034e5
<?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
;
}
src/Service/Interfaces/Store/StoreServiceInterface.php
View file @
515034e5
...
...
@@ -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
;
}
src/Service/Interfaces/SyncDataService/SyncMagentoServiceInterface.php
View file @
515034e5
...
...
@@ -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
;
}
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