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
926258ca
Commit
926258ca
authored
Dec 13, 2021
by
liu lu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.huaperfect.com/without_auth/meibuyu-rpc
into develop
parents
13f27720
d6973107
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
94 additions
and
0 deletions
+94
-0
PurchaseOrderServiceInterface.php
...vice/Interfaces/Finance/PurchaseOrderServiceInterface.php
+6
-0
ThirdPlatformProductServiceInterface.php
...terfaces/Product/ThirdPlatformProductServiceInterface.php
+38
-0
SupplierNewServiceInterface.php
...ce/Interfaces/PurchaseNew/SupplierNewServiceInterface.php
+7
-0
SyncAliexpressServiceInterface.php
...rfaces/SyncDataService/SyncAliexpressServiceInterface.php
+43
-0
No files found.
src/Service/Interfaces/Finance/PurchaseOrderServiceInterface.php
View file @
926258ca
...
...
@@ -28,4 +28,10 @@ interface PurchaseOrderServiceInterface
* @return mixed
*/
public
function
updatePurchaseOrder
(
$id
,
$data
);
/**
* @param array $ids
* @return mixed
*/
public
function
deletePurchaseOrder
(
$ids
);
}
src/Service/Interfaces/Product/ThirdPlatformProductServiceInterface.php
0 → 100644
View file @
926258ca
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2021/12/07
* Time: 9:39
*/
namespace
Meibuyu\Rpc\Service\Interfaces\Product
;
interface
ThirdPlatformProductServiceInterface
{
/**
* 通过id数组获取shopify子产品数组
* @param array $ids 默认去重
* @return array 默认keyBy
* @author Zero
*/
public
function
getShopifyChildrenByIds
(
array
$ids
)
:
array
;
/**
* 通过id数组获取速卖通子产品数组
* @param array $ids 默认去重
* @return array 默认keyBy
* @author Zero
*/
public
function
getAliExpressChildrenByIds
(
array
$ids
)
:
array
;
/**
* 通过id数组获取Magento子产品数组
* @param array $ids 默认去重
* @return array 默认keyBy
* @author Zero
*/
public
function
getMagentoChildrenByIds
(
array
$ids
)
:
array
;
}
src/Service/Interfaces/PurchaseNew/SupplierNewServiceInterface.php
View file @
926258ca
...
...
@@ -31,4 +31,11 @@ interface SupplierNewServiceInterface
* @return array
*/
public
function
getSupplierInfo
(
array
$params
)
:
array
;
/**
* 通过供应商名称获取供应商信息
* @param array $supplierName
* @return array
*/
public
function
getSupplierInfoByName
(
array
$supplierName
)
:
array
;
}
\ No newline at end of file
src/Service/Interfaces/SyncDataService/SyncAliexpressServiceInterface.php
0 → 100644
View file @
926258ca
<?php
/**
* Created by PhpStorm.
* User: qiudongfang
* Date: ${DATA}
* Time: 下午2:57
*/
namespace
Meibuyu\Rpc\Service\Interfaces\SyncDataService
;
interface
SyncAliexpressServiceInterface
{
/**
* @param integer $siteId
* @param integer $status
* @param array $orderIds
* @return mixed
*/
public
function
syncOrders
(
$siteId
,
$status
,
$orderIds
);
/**
* @param integer $siteId
* @param array $orderIds
* @param integer $status
* @return mixed
*/
public
function
updateOrderStatus
(
$siteId
,
$orderIds
,
$status
);
/**
* @param integer $siteId
* @param array $productIds
* @return mixed
*/
public
function
syncProducts
(
$siteId
,
$productIds
);
/**
* @param integer $siteId
* @param array $productIds
* @param integer $status
* @return mixed
*/
public
function
updateProductStatus
(
$siteId
,
$productIds
,
$status
);
}
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