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
bef2a900
Commit
bef2a900
authored
Oct 25, 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
1a39f875
82bf4661
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
StorePurchaseServiceInterface.php
...ervice/Interfaces/Store/StorePurchaseServiceInterface.php
+33
-0
No files found.
src/Service/Interfaces/Store/StorePurchaseServiceInterface.php
0 → 100644
View file @
bef2a900
<?php
/**
* Created by PhpStorm.
* User: 王源
* Date: 2020/3/16
* Time: 15:07
*/
namespace
Meibuyu\Rpc\Service\Interfaces\Store
;
interface
StorePurchaseServiceInterface
{
/**
* 创建对应的退货单, $params 数组结构如下:
* [
'source_type' => '', //来源类型,默认为采购
'source_no' => '', //来源单号,比如来源是采购就是采购单号
'batch_no' => '', //对应的批次号
'sku' => '', //sku
'purchased_cnt' => 0, //购买量
'returns_cnt' => 0, //退货数量
];
* @param array $params
* @return array
* [
'msg' => '退货成功',
'code'=> 200, //响应码
'data' => ['id' => 退货 ID] //返回的数据,id 为对应的退货 ID
];
* @throws
*/
public
function
createReturns
(
array
$params
)
:
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