@RestController @RequestMapping(value="/user") public class SysUserController extends top.ibase4j.core.base.BaseController<SysUser,SysUserService>
Constructor and Description |
---|
SysUserController() |
Modifier and Type | Method and Description |
---|---|
Object |
current(org.springframework.ui.ModelMap modelMap) |
Object |
delete(org.springframework.ui.ModelMap modelMap,
SysUser param) |
Object |
get(org.springframework.ui.ModelMap modelMap,
SysUser param) |
Object |
promission(org.springframework.ui.ModelMap modelMap) |
Object |
query(org.springframework.ui.ModelMap modelMap,
Map<String,Object> param) |
Object |
update(org.springframework.ui.ModelMap modelMap,
SysUser param) |
Object |
updateAvatar(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap) |
Object |
updatePassword(org.springframework.ui.ModelMap modelMap,
SysUser param) |
Object |
updatePerson(org.springframework.ui.ModelMap modelMap,
SysUser param) |
del, del, delete, get, get, query, queryList, queryList, update
@PostMapping public Object update(org.springframework.ui.ModelMap modelMap, @RequestBody SysUser param)
update
in class top.ibase4j.core.base.BaseController<SysUser,SysUserService>
@PutMapping(value="/read/list") public Object query(org.springframework.ui.ModelMap modelMap, @RequestBody Map<String,Object> param)
query
in class top.ibase4j.core.base.BaseController<SysUser,SysUserService>
@PutMapping(value="/read/detail") public Object get(org.springframework.ui.ModelMap modelMap, @RequestBody SysUser param)
@DeleteMapping public Object delete(org.springframework.ui.ModelMap modelMap, @RequestBody SysUser param)
delete
in class top.ibase4j.core.base.BaseController<SysUser,SysUserService>
@GetMapping(value="/read/promission") public Object promission(org.springframework.ui.ModelMap modelMap)
@GetMapping(value="/read/current") public Object current(org.springframework.ui.ModelMap modelMap)
@PostMapping(value="/update/person") public Object updatePerson(org.springframework.ui.ModelMap modelMap, @RequestBody SysUser param)
@PostMapping(value="/upload/avatar") public Object updateAvatar(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap modelMap)
Copyright © 2018. All rights reserved.