|
@@ -36,33 +36,18 @@ public class GzptUserInfoController extends BaseController {
|
|
|
@Autowired
|
|
|
private IUserInfoService userInfoService;
|
|
|
|
|
|
-// /**
|
|
|
-// * 查询用户信息列表
|
|
|
-// */
|
|
|
-// @GetMapping("/list")
|
|
|
-// @ApiOperation("查询学员列表")
|
|
|
-// @ApiImplicitParams({
|
|
|
-// @ApiImplicitParam(name = "pageNum",value = "当前页码" ,dataType = "int", paramType = "query", required = false),
|
|
|
-// @ApiImplicitParam(name = "pageSize",value = "每页数据量" , dataType = "int", paramType = "query", required = false),
|
|
|
-// })
|
|
|
-// public ResponsePageInfo<GzptUserInfo> list(@ModelAttribute GzptUserInfo gzptUserInfo){
|
|
|
-// startPage();
|
|
|
-// List<GzptUserInfo> list = gzptUserInfoService.getList();
|
|
|
-// return toResponsePageInfo(list);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 获取用户id获取详细信息
|
|
|
-// */
|
|
|
-// @GetMapping(value = "/ids/{id}")
|
|
|
-// @ApiOperation("获取学员详细信息")
|
|
|
-// public Response<GzptUserInfo> getInfo(
|
|
|
-// @ApiParam(name = "id", value = "用户信息参数", required = true)
|
|
|
-// @PathVariable("id") Long id
|
|
|
-// ){
|
|
|
-// return Response.success(gzptUserInfoService.getById(id));
|
|
|
-// }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取用户id获取详细信息
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/ids/{id}")
|
|
|
+ @ApiOperation("获取学员详细信息")
|
|
|
+ public Response<GzptUserInfo> getInfo(
|
|
|
+ @ApiParam(name = "id", value = "用户信息参数", required = true)
|
|
|
+ @PathVariable("id") Long id
|
|
|
+ ){
|
|
|
+ return Response.success(gzptUserInfoService.getInfoById(id));
|
|
|
+ }
|
|
|
|
|
|
|
|
|
/**
|