| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.UserInf; |
| | | import com.whyc.pojo.db_user.UserInf; |
| | | import com.whyc.service.UserInfService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @GetMapping("getAllUser") |
| | | public Response getAllUser(@RequestParam int pageCurr, @RequestParam int pageSize){ |
| | | return service.getAllUser(pageCurr,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询所有用户信息(不分页用于包机组)") |
| | | @GetMapping("getUinf") |
| | | public Response getUinf(){ |
| | | return service.getUinf(); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑用户权限和用户名") |
| | |
| | | public Response resetSnId(@RequestParam int uid){ |
| | | return service.resetSnId( uid); |
| | | } |
| | | |
| | | |
| | | } |