Commit abd989f7 by xmy

feat:获取拼团新订单数量

parent 349ccf31
...@@ -12,18 +12,20 @@ use Swoft\Core\ResultInterface; ...@@ -12,18 +12,20 @@ use Swoft\Core\ResultInterface;
/** /**
* @method ResultInterface deferPaySuccess($orderId) * @method ResultInterface deferPaySuccess($orderId)
* @method ResultInterface deferHasActivity($storeId,$goodsId) * @method ResultInterface deferHasActivity($storeId, $goodsId)
* @method ResultInterface deferAdminCountActivity($storeId) * @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetNewOrderNum($storeId, $time)
* Interface GoodsInterface * Interface GoodsInterface
* @package Hdll\Services\Goods\Lib * @package Hdll\Services\Goods\Lib
*/ */
interface GroupBookingInterface{ interface GroupBookingInterface
{
public function paySuccess($orderId,$storeId); public function paySuccess($orderId, $storeId);
public function hasActivity($storeId,$goodsId); public function hasActivity($storeId, $goodsId);
/** /**
* 关闭拼团 * 关闭拼团
...@@ -46,4 +48,15 @@ interface GroupBookingInterface{ ...@@ -46,4 +48,15 @@ interface GroupBookingInterface{
* @author work * @author work
*/ */
public function adminCountActivity($storeId); public function adminCountActivity($storeId);
/**
* 获取新订单数量
* @param $storeId
* @param $time
* @return mixed
* @author work
* @return number
*/
public function getNewOrderNum($storeId, $time);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment