package com.red.circle.other.inner.endpoint.user.user.api;

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户资料服务.
 *
 * @author pengliang on 2023/6/5
 */
public interface SysUserProfileClientApi {

  String API_PREFIX = "/sys-user-profile/client";

  /**
   * 获取用户资料.
   */
  @GetMapping("/getByUserId")
  ResultResponse<UserProfileDTO> getByUserId(@RequestParam("userId") Long userId);

}
