|
@@ -1,38 +0,0 @@
|
|
|
-package com.ym.mec.education.controller;
|
|
|
-
|
|
|
-import javax.annotation.Resource;
|
|
|
-
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
-import com.ym.mec.auth.api.client.SysUserFeignService;
|
|
|
-import com.ym.mec.education.base.BaseResponse;
|
|
|
-import com.ym.mec.education.service.ISubjectService;
|
|
|
-
|
|
|
-import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
-
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-/**
|
|
|
- * @program: mec
|
|
|
- * @description: 声部
|
|
|
- * @author: xw
|
|
|
- * @create: 2019-10-01 11:25
|
|
|
- */
|
|
|
-@RestController
|
|
|
-@RequestMapping("api/user")
|
|
|
-@Api(tags = "用户")
|
|
|
-public class UserController {
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private SysUserFeignService sysUserFeignService;
|
|
|
-
|
|
|
- @PostMapping("/detail")
|
|
|
- @ApiOperation("个人明细")
|
|
|
- public BaseResponse list() {
|
|
|
- return BaseResponse.success(sysUserFeignService.queryUserInfo());
|
|
|
- }
|
|
|
-}
|