package com.dsh.other.feignclient.account;
|
|
import com.dsh.other.feignclient.account.model.AppUser;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @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);
|
}
|