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
09e49bcf
Commit
09e49bcf
authored
Mar 28, 2022
by
秦俊坤
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a24675c6
234aa60b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
115 additions
and
0 deletions
+115
-0
FeiShuMessageServiceInterface.php
...rvice/Interfaces/FeiShu/FeiShuMessageServiceInterface.php
+15
-0
MagentoProductServiceInterface.php
...ice/Interfaces/Product/MagentoProductServiceInterface.php
+33
-0
ProductionServiceInterface.php
...vice/Interfaces/Production/ProductionServiceInterface.php
+17
-0
SyncMagentoServiceInterface.php
...nterfaces/SyncDataService/SyncMagentoServiceInterface.php
+19
-0
ChannelAndCompanyInterface.php
src/Service/Interfaces/Wms/ChannelAndCompanyInterface.php
+31
-0
No files found.
src/Service/Interfaces/FeiShu/FeiShuMessageServiceInterface.php
View file @
09e49bcf
...
...
@@ -14,4 +14,19 @@ interface FeiShuMessageServiceInterface
* @return mixed
*/
public
function
batchSendMsg
(
array
$userIds
,
string
$template
,
array
$data
);
/**
* Notes: 发送markdown消息
* User: carlos
* DateTime: 2022/1/3 11:25
* @param string $title 标题
* @param string $content 内容(markdown格式)
* @param string $template 模板名称 可以为空
* @param string $application 应用名称
* @param array $receiveUserId 接收人
* @param int $sendUserId 发送人
* @return mixed
*/
public
function
sendMessage
(
string
$title
,
string
$content
,
string
$template
,
string
$application
,
array
$receiveUserId
,
int
$sendUserId
=
0
);
}
\ No newline at end of file
src/Service/Interfaces/Product/MagentoProductServiceInterface.php
0 → 100644
View file @
09e49bcf
<?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/Production/ProductionServiceInterface.php
View file @
09e49bcf
...
...
@@ -51,4 +51,21 @@ interface ProductionServiceInterface
*/
public
function
searchUsedPlatformProductChildId
(
$ids
);
/**
* 通过生产单号获取生产单产品数据
* @param $productionNo
* @return array
* @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero
*/
public
function
getProductionProductInfoByNo
(
$productionNo
)
:
array
;
/**
* 仓库返工出库回调
* @param array $params
* @throws \Meibuyu\Rpc\Exceptions\RpcException
* @author Zero
*/
public
function
exWarehouseCallback
(
array
$params
);
}
src/Service/Interfaces/SyncDataService/SyncMagentoServiceInterface.php
0 → 100644
View file @
09e49bcf
<?php
/**
* Created by PhpStorm.
* User: qiudongfang
* Date: ${DATA}
* Time: 下午2:57
*/
namespace
Meibuyu\Rpc\Service\Interfaces\SyncDataService
;
interface
SyncMagentoServiceInterface
{
/**
* @param int $platformOrderId 平台单号id
* @param int $pageSize 每页最多展示50条
* @return bool
*/
public
function
syncOrders
(
int
$platformOrderId
,
$pageSize
=
10
)
:
bool
;
}
src/Service/Interfaces/Wms/ChannelAndCompanyInterface.php
0 → 100644
View file @
09e49bcf
<?php
/**
* Created by PhpStorm.
* User: Jack
* Date: 2020/1/9
* Time: 15:07
*/
namespace
Meibuyu\Rpc\Service\Interfaces\Wms
;
interface
ChannelAndCompanyInterface
{
/**
* 通过物流渠道id获取物流渠道
* @param array $channelIds $channelIds:渠道id数组, 格式:[1,3,5]
* @return array
*/
public
function
getChannelByIds
(
array
$channelIds
)
:
array
;
/**
* 通过公司id获取公司信息
* @param array $companyIds $param:公司ids数组、公司名称, 格式:
* $post=[
* 'ids'=>[1,2,3],
* 'name'=>'华东急速国际',
* ];
*
* @return array
*/
public
function
getCompanyByIds
(
array
$companyIds
)
:
array
;
}
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