xuhy
2026-04-15 2862d5229b2564b45face7c6ec3d3e3acccc1749
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.xiaopeng.api.feignClient.account;
 
import com.xiaopeng.api.factory.account.XpAppUserCollectAddrClientFallbackFactory;
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.RequestParam;
 
import java.util.List;
 
/**
 * 小程序用户收藏地址 Feign 客户端
 *
 * @author mitao
 */
@FeignClient(contextId = "XpAppUserCollectAddr",
        value = ServiceNameConstantsEnum.XP_ACCOUNT_SERVICE,
        fallbackFactory = XpAppUserCollectAddrClientFallbackFactory.class)
public interface XpAppUserCollectAddrClient {
 
    /**
     * 获取用户收藏的站点 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);
}