mitao
2025-02-24 33e5113e02e32b8553c5f4edd07eb1f149594f04
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
package com.panzhihua.common.service.sangeshenbian;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.sangeshenbian.SystemUserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2025/2/23 0:14
 */
@FeignClient(name = "huacheng-sangeshenbian")
public interface SystemUserService {
    
    /**
     *
     * @param id
     *            用户的ID
     * @return 用户所有角色
     */
    @PostMapping("/systemUser/getUserById")
    R<SystemUserVo> getUserById(@RequestParam("id") String id);
}