Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
f875df1d
Commit
f875df1d
authored
Jul 30, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.dev.2b3.cn/tencent/services
into test
parents
37a120f2
54a908ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
src/Craftsman/Lib/CraftsmanInterface.php
+12
-0
src/Goods/Lib/GoodsInterface.php
+2
-0
No files found.
src/Craftsman/Lib/CraftsmanInterface.php
View file @
f875df1d
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
*/
*/
interface
CraftsmanInterface
interface
CraftsmanInterface
{
{
...
@@ -74,4 +75,14 @@ interface CraftsmanInterface
...
@@ -74,4 +75,14 @@ interface CraftsmanInterface
*/
*/
public
function
getCraftsmenByIds
(
int
$storeId
,
array
$cmanIds
);
public
function
getCraftsmenByIds
(
int
$storeId
,
array
$cmanIds
);
/**
* 提供给商品服务,用来同步店员所属的商品
*
* @param integer $storeId
* @param array $itemIds
* @param integer $mode 取值:1 表示新增,2 表示去除
* @return boolen
*/
public
function
syncItems
(
int
$storeId
,
array
$itemIds
,
int
$mode
);
}
}
\ No newline at end of file
src/Goods/Lib/GoodsInterface.php
View file @
f875df1d
...
@@ -25,6 +25,7 @@ use Swoft\Core\ResultInterface;
...
@@ -25,6 +25,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetTopThreeSales($storeId)
* @method ResultInterface deferGetTopThreeSales($storeId)
* @method ResultInterface deferGetReturnVisitByGoodsIds($storeId, $goodsIds)
* @method ResultInterface deferGetReturnVisitByGoodsIds($storeId, $goodsIds)
* @method ResultInterface deferCountEvaluate($storeId,$time)
* Interface GoodsInterface
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
* @package Hdll\Services\Goods\Lib
*/
*/
...
@@ -175,4 +176,5 @@ interface GoodsInterface
...
@@ -175,4 +176,5 @@ interface GoodsInterface
* @author work
* @author work
*/
*/
public
function
getReturnVisitByGoodsIds
(
$storeId
,
$goodsIds
);
public
function
getReturnVisitByGoodsIds
(
$storeId
,
$goodsIds
);
}
}
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