package com.seer.teach.user.api;

import com.seer.teach.user.api.dto.UserExtendDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = ApiConstants.SERVER_NAME, contextId = "userExtendServiceApi", path = "/seer/user")
public interface UserExtendServiceApi {

    @GetMapping("/getUserExtendByUserId")
    UserExtendDTO getUserExtendById(@RequestParam("userId") Integer userId);
}
