Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
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
1
Merge Requests
1
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-micro
Commits
ff6730c3
Commit
ff6730c3
authored
Jun 11, 2021
by
王源
🎧
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.0' into 2.0
parents
08f91cde
ca525dfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
PurchaseTaskServiceInterface.php
...vice/Interfaces/Purchase/PurchaseTaskServiceInterface.php
+47
-0
No files found.
src/Service/Interfaces/Purchase/PurchaseTaskServiceInterface.php
0 → 100644
View file @
ff6730c3
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2021/06/11
* Time: 14:22:52
*/
namespace
Meibuyu\Micro\Service\Interfaces\Purchase
;
interface
PurchaseTaskServiceInterface
{
/**
* 为订单提供获取采购数据
* @param array $noList
* @return array
* @author Zero
*/
public
function
infoForOrder
(
array
$noList
);
/**
* 通知取消
* @param array $data
* [
* 'source_id' => '来源id',
* 'notice_cancel_reason' => '通知取消原因',
* 'type' => 1 // 1(订单采购); 2(备货采购); 3(样品采购)
* ]
* @return bool
* @throws \Meibuyu\Micro\Exceptions\RpcException
* @author Zero
*/
public
function
noticeCancel
(
array
$data
);
/**
* 更新产品数据
* @param mixed $sourceId 来源id
* @param array $data 要更新的数据如['specification', 'remark']等
* @param int $type 采购类型,默认为订单采购,可传参数[1(订单采购); 2(备货采购); 3(样品采购)]
* @return bool
* @throws \Meibuyu\Micro\Exceptions\RpcException
* @author Zero
*/
public
function
updateProduct
(
$sourceId
,
array
$data
,
$type
=
1
);
}
\ No newline at end of file
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