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
7111831a
Commit
7111831a
authored
Jan 29, 2024
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
458e2073
c363fde5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
ProductChildServiceInterface.php
...rvice/Interfaces/Product/ProductChildServiceInterface.php
+8
-0
StorePurchaseServiceInterface.php
...ervice/Interfaces/Store/StorePurchaseServiceInterface.php
+46
-0
No files found.
src/Service/Interfaces/Product/ProductChildServiceInterface.php
View file @
7111831a
...
...
@@ -135,4 +135,12 @@ interface ProductChildServiceInterface
*/
public
function
getByIdListNew
(
array
$idList
,
array
$columns
=
[
'*'
],
array
$relations
=
[
'color'
,
'size'
,
'packs.color'
]);
/**
* 获取某多个产品下的所有子产品
*
* @param array $productIds 产品ID数组
* @param array $columns 列名数组
* @return array GroupBy('product_id')
*/
public
function
getListByProductIds
(
array
$productIds
,
array
$columns
=
[
'*'
])
:
array
;
}
src/Service/Interfaces/Store/StorePurchaseServiceInterface.php
View file @
7111831a
...
...
@@ -56,4 +56,50 @@ interface StorePurchaseServiceInterface
* @param $extraParams 兼容额外的场景的可选参数
*/
public
function
getPurchaseQcException
(
$batchNo
,
$subOrderNo
,
$extraParams
=
[]);
/**
* 子订单退货(子订单入库后退货)
*
* @param string $subOrderNo 子订单号
* @param int $returnedCnt 退货数量
* @param string $receivedBy 收货人
* @param string $contactTel 联系电话
* @param string $returnAddress 退货地址
* @param array $extra 额外参数
* @return array ['code' => 200, 'msg' => '', 'data' => ['reference_no' => '111111111']]
*/
public
function
returnSubOrderWarehousedGoods
(
string
$subOrderNo
,
int
$returnedCnt
,
string
$receivedBy
,
string
$contactTel
,
string
$returnAddress
,
array
$extra
=
[])
:
array
;
/**
* 子订单退货(子订单入库后取消)
*
* @param string $subOrderNo 子订单号
* @param int $returnedCnt 退货数量
* @param string $receivedBy 收货人
* @param string $contactTel 联系电话
* @param string $returnAddress 退货地址
* @param array $extra 额外参数
* @return array ['code' => 200, 'msg' => '', 'data' => ['reference_no' => '111111111']]
*/
public
function
returnSubOrderGoodsByCancel
(
string
$subOrderNo
,
int
$returnedCnt
,
string
$receivedBy
,
string
$contactTel
,
string
$returnAddress
,
array
$extra
=
[])
:
array
;
/**
* 更新退货信息
*
* @param string $subOrderNo 子订单号
* @param string $referenceNo 关联单号
* @param string $receivedBy 收货人
* @param string $contactTel 联系方式
* @param string $returnAddress 退货地址
* @return array
*/
public
function
updateReturnInfo
(
string
$subOrderNo
,
string
$referenceNo
,
string
$receivedBy
,
string
$contactTel
,
string
$returnAddress
)
:
array
;
/**
* 获取异常继续入库单号
*
* @param string $exceptionNo 异常单号
* @return array ['code' => 200, 'msg' => '', 'data' => 'RK-20231225-046']
*/
public
function
getExceptionWarehousingNo
(
string
$exceptionNo
)
:
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