44323
2023-08-17 1d07f8271751880bdfbf3ea41e696f9ee719888b
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
34
35
36
37
38
39
40
package com.dsh.course.feignclient.account;
 
import com.dsh.course.feignclient.account.model.AppUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @date 2023/6/29 14:09
 */
@FeignClient("mb-cloud-account")
public interface AppUserClient {
 
    /**
     * 根据用户id获取用户信息
     * @param appUserId
     * @return
     */
    @PostMapping("/base/appUser/queryAppUser")
    AppUser queryAppUser(Integer appUserId);
 
 
    /**
     * 修改用户信息
     * @param appUser
     */
    @PostMapping("/base/appUser/updateAppUser")
    void updateAppUser(AppUser appUser);
 
 
    /**
     * 根据名称模糊查询用户信息
     * @param name
     * @return
     */
    @PostMapping("/appUser/queryAppUserListByName")
    List<AppUser> queryAppUserListByName(String name);
}