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.

20 lines
683 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. <?php
  2. namespace App\Service\v3\Interfaces;
  3. interface CouponRecServiceInterface
  4. {
  5. public function do();
  6. public function check();
  7. public function undo();
  8. public function allForOrderOlAvailable($totalAmount,$userId,$marketId,$type,$storeTypeId);
  9. public function getListByUser($userId,$type,$page = 1,$pagesize = 5);
  10. public function allForOnlineOrderAvailable($userId, $marketId, $shopcartIds = []);
  11. /**
  12. * 统计用户可使用优惠券数量
  13. * @param $userId
  14. * @return mixed
  15. */
  16. public function statistics($userId);
  17. public function getAvailableList($userId,$receiveType);
  18. public function receive($userId,$receiveType,$ids);
  19. }