liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
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.dto.account.ThirdInfoResVo;
import com.xiaopeng.api.dto.account.UserResourcesDto;
import com.xiaopeng.api.factory.account.SSOClientFallbackFactory;
import com.xiaopeng.api.factory.account.ThirdClientFallbackFactory;
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;
 
/**
 * 小鹏三方账号
 */
@FeignClient(contextId = "ThirdClient",
        value = ServiceNameConstantsEnum.XP_THIRD_AUTH_BOOT,
        fallbackFactory = ThirdClientFallbackFactory.class)
public interface ThirdClient {
 
 
    /**
     * 获取小鹏账号绑定第三方账号信息
     * @param appId 应用id
     * @param uid 用户id
     * @param thirdType 第三方类型 0-微信PC 1-QQ2-微博3-微信小程序4-淘宝5-虾米6-喜马拉雅7-高德8-微信公众号9-酷狗10-有赞店铺
     * 11-抖音小程序
     * @return
     */
    @GetMapping("/logan/third/thirdInfo")
    ThirdInfoResVo thirdInfo(@RequestParam("appId") String appId,
                             @RequestParam("uid") Long uid,
                             @RequestParam("thirdType") Integer thirdType);
}