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);
|
}
|