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
09cda03a
Commit
09cda03a
authored
May 09, 2019
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:数量
parent
352fd835
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
src/Goods/Lib/GoodsInterface.php
+13
-0
src/GroupBooking/Lib/GroupBookingInterface.php
+14
-0
No files found.
src/Goods/Lib/GoodsInterface.php
View file @
09cda03a
...
...
@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetSkuByGoodsId($goodsId, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId)
* @method ResultInterface deferAfterServiceTmp($storeId)
* @method ResultInterface deferAdminCountActivity($storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -142,4 +143,16 @@ interface GoodsInterface
* @author work
*/
public
function
afterServiceTmp
(
$storeId
);
/**
* 获取商品数量
* [
* 'total'=>1,
* 'online'=>1
* ]
* @param $storeId
* @return mixed
* @author work
*/
public
function
adminCountGoods
(
$storeId
);
}
src/GroupBooking/Lib/GroupBookingInterface.php
View file @
09cda03a
...
...
@@ -13,6 +13,7 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferPaySuccess($orderId)
* @method ResultInterface deferHasActivity($storeId,$goodsId)
* @method ResultInterface deferAdminCountActivity($storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -33,4 +34,16 @@ interface GroupBookingInterface{
* @author Administrator
*/
public
function
closeRecord
(
$storeId
,
$buyerId
,
$orderId
);
/**
* 获取所有活动数量
* [
* 'total'=>1,
* 'online'=>1
* ]
* @param $storeId
* @return mixed
* @author work
*/
public
function
adminCountActivity
(
$storeId
);
}
\ 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