| | |
| | | package com.xiaopeng.api.feignClient.account; |
| | | |
| | | import com.xiaopeng.api.dto.statistics.StatisticsQueryDTO; |
| | | import com.xiaopeng.api.dto.statistics.UserStatisticsDTO; |
| | | import com.xiaopeng.api.factory.account.XpAppUserClientFallbackFactory; |
| | | import com.xiaopeng.api.factory.account.XpAppUserCollectAddrClientFallbackFactory; |
| | | import com.xiaopeng.api.model.account.XpAppUser; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 小程序用户Feign客户端 |
| | | * 小程序用户收藏地址 Feign 客户端 |
| | | * |
| | | * @author mitao |
| | | */ |
| | |
| | | public interface XpAppUserCollectAddrClient { |
| | | |
| | | /** |
| | | * 获取用户收藏的pointIds |
| | | * 获取用户收藏的站点 pointIds |
| | | */ |
| | | @GetMapping("/logan/rt/v1/appUser/collectAddr/getPointIds") |
| | | R<List<Long>> getPointIdsByUserId(@RequestParam Long uid); |
| | | |
| | | /** |
| | | * 获取用户收藏的场站 stationIds |
| | | */ |
| | | @GetMapping("/logan/rt/v1/appUser/collectAddr/getStationIds") |
| | | R<List<Long>> getStationIdsByUserId(@RequestParam Long uid); |
| | | } |