| | |
| | | import com.ruoyi.system.api.domain.SysUser; |
| | | import com.ruoyi.system.api.factory.SysUserFallbackFactory; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | @PostMapping("/user/getSysUser") |
| | | R<SysUser> getSysUser(@RequestParam("userId")Long userId); |
| | | @PostMapping("/user/getSysUserAll") |
| | | R<List<SysUser>> getSysUserAll(); |
| | | |
| | | @PostMapping("/user/updateSysUser") |
| | | R<Boolean> updateSysUser(@RequestBody SysUser sysUser); |
| | |
| | | */ |
| | | @PostMapping("/user/addSysUser") |
| | | R<Long> addSysUser(@RequestBody SysUser user); |
| | | /** |
| | | * 新增加用户信息 |
| | | * @param user |
| | | */ |
| | | @PostMapping("/user/addSysUserSite") |
| | | R<Long> addSysUserSite(@RequestBody SysUser user); |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/user/delSysUserById") |
| | | R delSysUserById(@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 通过站点id查询用户 |
| | | * @param siteId |
| | | * @return |
| | | */ |
| | | @GetMapping("/user/queryUserBySiteId") |
| | | R<SysUser> queryUserBySiteId(@RequestParam("siteId")Integer siteId); |
| | | |
| | | } |