|
|
@@ -42,7 +42,10 @@ class UserCouponController extends BaseApiController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 商品可领取优惠券列表
|
|
|
+ * @return \think\response\Json
|
|
|
+ */
|
|
|
public function categoryCouponLists()
|
|
|
{
|
|
|
$params = (new UserCouponValidate())->goCheck('category',[
|
|
|
@@ -55,6 +58,10 @@ class UserCouponController extends BaseApiController
|
|
|
return $this->data($result);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 订单可用优惠券
|
|
|
+ * @return \think\response\Json
|
|
|
+ */
|
|
|
public function categoryWithAmountLists()
|
|
|
{
|
|
|
$params = (new UserCouponValidate())->goCheck('categoryWithAmountList',[
|