| | |
| | | /** |
| | | * 获取用户信息详情详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:Userinfo:getInfoList')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:Userinfo:getInfoList')") |
| | | @GetMapping(value = "/list") |
| | | @ApiOperation("查询详情信息") |
| | | public AjaxResult getInfoList(@RequestParam(defaultValue = "1") Integer pageNum, @RequestParam(defaultValue = "10") Integer pageSize) { |
| | |
| | | /** |
| | | * 获取用户信息详情详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:Userinfo:query')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:Userinfo:query')") |
| | | @GetMapping("/{id}") |
| | | @ApiOperation("根据用户id查询详情信息") |
| | | public AjaxResult getInfo(@PathVariable("id") @ApiParam(value = "用户id") Long userId) { |
| | |
| | | /** |
| | | * 新增用户信息详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:Userinfo:add')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:Userinfo:add')") |
| | | @Log(title = "用户信息详情", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | //@ApiOperation("完善用户信息") |
| | |
| | | /** |
| | | * 修改用户信息详情 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:Userinfo:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:Userinfo:edit')") |
| | | @Log(title = "用户信息详情", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation("修改用户信息") |