新增 用户添加/取消收藏站点接口、用户查询收藏站点列表接口

This commit is contained in:
Lemon
2025-03-21 09:45:59 +08:00
parent 98e654b0fc
commit 2c8188a17a
9 changed files with 164 additions and 12 deletions

View File

@@ -0,0 +1,29 @@
package com.jsowell.pile.dto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 个人收藏站点DTO
*
* @author Lemon
* @Date 2025/3/20 13:38:38
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CollectedStationDTO {
private String memberId;
private String stationId;
/**
* 操作类型
* true - 收藏
* false - 取消收藏
*/
private boolean operatorType;
}

View File

@@ -125,6 +125,8 @@ public class QueryStationDTO extends BaseEntity {
private List<String> stationIds;
private String memberId;
@Data
public static class OtherOptions {
/**