satoken修改

This commit is contained in:
张松
2025-02-17 17:25:12 +08:00
parent bd64722905
commit 763faa6f84
11 changed files with 916 additions and 47 deletions

View File

@@ -18,7 +18,13 @@ import java.util.Set;
*/
public interface ShopCouponService extends IService<ShopCoupon> {
List<ShopCouponDTO> getList(ShopCouponDTO couponDTO);
/**
* 优惠券列表
* @param shopId 店铺id
* @param status 状态 0 未使用 1已使用 -1已过期
* @return
*/
List<ShopCouponDTO> getList(Long shopId, Integer status);
ShopCouponDTO getCouponById(ShopCouponDTO couponDTO);
Boolean add(ShopCouponDTO couponDTO);