| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.account.api.model.TAppUserSiteFavorite; |
| | | import com.ruoyi.account.api.vo.SitePriceDropNotifyVO; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | public interface TAppUserSiteFavoriteService extends IService<TAppUserSiteFavorite> { |
| | | |
| | | void saveOrRestore(Long appUserId, Integer siteId, BigDecimal favoritePrice, Boolean notifyEnabled); |
| | | |
| | | /** |
| | | * 计费策略审批通过且存在降价时段时,向开启降价提醒的收藏用户推送微信订阅消息 |
| | | * |
| | | * @param drops 降价站点列表(站点ID、名称、降价后新价格) |
| | | */ |
| | | void notifyPriceDrop(List<SitePriceDropNotifyVO> drops); |
| | | } |