You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
683 B
21 lines
683 B
<?php
|
|
|
|
namespace App\Service\v3\Interfaces;
|
|
|
|
interface CouponRecServiceInterface
|
|
{
|
|
public function do();
|
|
public function check();
|
|
public function undo();
|
|
public function allForOrderOlAvailable($totalAmount,$userId,$marketId,$type,$storeTypeId);
|
|
public function getListByUser($userId,$type,$page = 1,$pagesize = 5);
|
|
public function allForOnlineOrderAvailable($userId, $marketId, $shopcartIds = []);
|
|
/**
|
|
* 统计用户可使用优惠券数量
|
|
* @param $userId
|
|
* @return mixed
|
|
*/
|
|
public function statistics($userId);
|
|
public function getAvailableList($userId,$receiveType);
|
|
public function receive($userId,$receiveType,$ids);
|
|
}
|