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
448af7d7
Commit
448af7d7
authored
Oct 15, 2022
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
ad0ac975
e6e5fa15
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
115 additions
and
1 deletion
+115
-1
FactoryNoticeServiceInterface.php
...rvice/Interfaces/Notice/FactoryNoticeServiceInterface.php
+56
-0
FactoryServiceInterface.php
...ice/Interfaces/OutsideFactory/FactoryServiceInterface.php
+10
-1
ApproveProductChildServiceInterface.php
...nterfaces/Product/ApproveProductChildServiceInterface.php
+21
-0
ProductServiceInterface.php
src/Service/Interfaces/Product/ProductServiceInterface.php
+7
-0
ProductionServiceInterface.php
...vice/Interfaces/Production/ProductionServiceInterface.php
+21
-0
No files found.
src/Service/Interfaces/Notice/FactoryNoticeServiceInterface.php
0 → 100644
View file @
448af7d7
<?php
namespace
Meibuyu\Rpc\Service\Interfaces\Notice
;
interface
FactoryNoticeServiceInterface
{
/**
* 分页
* @param $userInfo
* @param $params
* @author chentianyu
*/
public
function
page
(
$userInfo
,
$params
);
/**
* 未读列表
* @param $userInfo
* @param $params
* @author chentianyu
*/
public
function
unReadList
(
$userInfo
,
$params
);
/**
* 查看
* @param $userInfo
* @param $params
* @author chentianyu
*/
public
function
show
(
$userInfo
,
$params
);
/**
* 下一条未读的记录
* @param $userInfo
* @param $params
* @author chentianyu
*/
public
function
nextUnRead
(
$userInfo
,
$params
);
/**
* 标记为已读
* @param $userInfo
* @param $params
* @author chentianyu
*/
public
function
markRead
(
$userInfo
,
$params
);
/**
* 打包下载
* @param $noticeId
* @author chentianyu
*/
public
function
pack
(
$noticeId
);
}
src/Service/Interfaces/OutsideFactory/FactoryServiceInterface.php
View file @
448af7d7
...
...
@@ -78,9 +78,10 @@ interface FactoryServiceInterface
/**
* Notes: 分派订单取消
* User: carlos
* @param string $type cancel|delete
* DateTime: 2022/9/21 14:24
*/
public
function
cancelOrder
(
$orderNo
);
public
function
cancelOrder
(
$orderNo
,
$type
=
'cancel'
);
/**
* Notes: 获取订单信息
...
...
@@ -101,4 +102,12 @@ interface FactoryServiceInterface
* date 2022-09-27
*/
public
function
getProductionAccountStatement
(
$searchConditions
,
$isExport
=
false
);
/**
* Notes: 生产订单完结
* User: carlos
* DateTime: 2022/9/29 9:52
*/
public
function
finishProductionOrder
(
$orderSn
);
}
\ No newline at end of file
src/Service/Interfaces/Product/ApproveProductChildServiceInterface.php
0 → 100644
View file @
448af7d7
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2020/10/12
* Time: 9:39
*/
namespace
Meibuyu\Rpc\Service\Interfaces\Product
;
interface
ApproveProductChildServiceInterface
{
/**
* 根据子产品获取对应的主产品的创建人 id 信息
* @param $childProductIds
* @return array
*/
public
function
getProductCreatorsByChildProductIds
(
$childProductIds
)
:
array
;
}
src/Service/Interfaces/Product/ProductServiceInterface.php
View file @
448af7d7
...
...
@@ -278,4 +278,11 @@ interface ProductServiceInterface
*/
public
function
getProductChildByWhere
(
array
$where
,
array
$whereIn
=
[],
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
/**
* 根据主 SKU 获取子 SKU 相关信息
* @param $filters
* @param string[] $childProductFields
* @return array
*/
public
function
getChildProductsByProductFilter
(
$filters
,
$childProductFields
=
[
'*'
])
:
array
;
}
src/Service/Interfaces/Production/ProductionServiceInterface.php
View file @
448af7d7
...
...
@@ -126,4 +126,25 @@ interface ProductionServiceInterface
*/
public
function
getMessageProductionOrderIds
();
/**
* 发送留言
* @return mixed
*/
public
function
pushProductionMessage
(
array
$params
);
/**
* 获取留言
* @return mixed
*/
public
function
getProductionMessage
(
array
$params
);
/**
* 已读标记
* @return mixed
*/
public
function
isReadProductionMessage
(
array
$params
);
}
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