Commit cb2239f9 by xmy

feat:抽奖接口

parent e3277fdf
<?php
namespace Hdll\Services\Lottery\Lib;
use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetNewOrderNum($storeId, $time)
* Class LotteryInterface
* @package Hdll\Services\Lottery\Lib
*/
interface LotteryInterface
{
/**
* 获取所有活动数量
* [
* 'total'=>1,
* 'online'=>1
* ]
* @param $storeId
* @return mixed
* @author work
*/
public function adminCountActivity($storeId);
/**
* 获取新订单数量
* @param $storeId
* @param $time
* @return mixed
* @return number
* @author work
*/
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