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.

19 lines
559 B

  1. <?php
  2. namespace App\Service;
  3. interface CouponServiceInterface
  4. {
  5. /**
  6. * 当前订单可用优惠券列表
  7. * @param $orderAmount 订单金额
  8. * @param $marketId 市场ID
  9. * @param $userId 用户ID
  10. * @param int $type 优惠券类型,1全平台 2线上 3线下
  11. * @param int[] $storeTypeIds 商户类型ID数组
  12. * @param array $fields
  13. * @return mixed
  14. */
  15. public function getOrderCanUseCoupons($orderAmount, $marketId, $userId, $fields=[], $type=1, $storeTypeIds=[0]);
  16. }