正在显示
1 个修改的文件
包含
2 行增加
和
5 行删除
@@ -11,10 +11,7 @@ import io.swagger.annotations.ApiOperation; | @@ -11,10 +11,7 @@ import io.swagger.annotations.ApiOperation; | ||
11 | import lombok.extern.slf4j.Slf4j; | 11 | import lombok.extern.slf4j.Slf4j; |
12 | import org.springframework.beans.factory.annotation.Autowired; | 12 | import org.springframework.beans.factory.annotation.Autowired; |
13 | import org.springframework.validation.annotation.Validated; | 13 | import org.springframework.validation.annotation.Validated; |
14 | -import org.springframework.web.bind.annotation.PostMapping; | ||
15 | -import org.springframework.web.bind.annotation.RequestBody; | ||
16 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
17 | -import org.springframework.web.bind.annotation.RestController; | 14 | +import org.springframework.web.bind.annotation.*; |
18 | 15 | ||
19 | /** | 16 | /** |
20 | * Created with IDEA | 17 | * Created with IDEA |
@@ -51,7 +48,7 @@ public class MineController { | @@ -51,7 +48,7 @@ public class MineController { | ||
51 | } | 48 | } |
52 | 49 | ||
53 | @ApiOperation("打开个人信息") | 50 | @ApiOperation("打开个人信息") |
54 | - @PostMapping("/openMyInfo") | 51 | + @GetMapping("/openMyInfo") |
55 | public AjaxResult openMyInfo(){ | 52 | public AjaxResult openMyInfo(){ |
56 | 53 | ||
57 | return mineService.openMyInfo(); | 54 | return mineService.openMyInfo(); |
-
请 注册 或 登录 后发表评论