Przeglądaj źródła

bugfix-接口文档报错

Aslee 2 lat temu
rodzic
commit
27559fd9c1

+ 0 - 2
src/main/java/com/caimei/controller/admin/auth/AuthApi.java

@@ -76,7 +76,6 @@ public class AuthApi {
     }
 
     @ApiOperation("机构下拉框列表")
-    @ApiImplicitParam(name = "authUserId", required = true, value = "供应商用户id")
     @GetMapping("/select")
     public ResponseJson<List<AuthVo>> getAuthSelectList(@CurrentUser SysUser sysUser) {
         if (null == sysUser) {
@@ -280,7 +279,6 @@ public class AuthApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "authId", required = true, value = "授权机构id")
     @PostMapping("/check/{id}")
     public ResponseJson checkAuth(@PathVariable("id") Integer authId) {
         return authService.checkAuth(authId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/auth/AuthProductApi.java

@@ -313,7 +313,6 @@ public class AuthProductApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "productId", required = true, value = "productId")
     @PostMapping("/check/{id}")
     public ResponseJson checkAuthProduct(@PathVariable("id") Integer productId) {
         return authProductService.checkAuthProduct(productId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/auth/DoctorApi.java

@@ -164,7 +164,6 @@ public class DoctorApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "doctorId", required = true, value = "doctorId")
     @PostMapping("/check/{id}")
     public ResponseJson checkDoctor(@PathVariable("id") Integer doctorId) {
         return doctorService.checkDoctor(doctorId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/data/ArticleApi.java

@@ -115,7 +115,6 @@ public class ArticleApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "articleId", required = true, value = "文章id")
     @PostMapping("/check/{id}")
     public ResponseJson checkArticle(@PathVariable("id") Integer articleId) {
         return articleService.checkArticle(articleId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/data/FileApi.java

@@ -157,7 +157,6 @@ public class FileApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "fileId", required = true, value = "文件id")
     @PostMapping("/check/{id}")
     public ResponseJson checkFile(@PathVariable("id") Integer fileId) {
         return fileService.checkFile(fileId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/data/ImageApi.java

@@ -114,7 +114,6 @@ public class ImageApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "imageId", required = true, value = "图片id")
     @PostMapping("/check/{id}")
     public ResponseJson checkImage(@PathVariable("id") Integer imageId) {
         return imageService.checkImage(imageId);

+ 0 - 1
src/main/java/com/caimei/controller/admin/data/VideoApi.java

@@ -108,7 +108,6 @@ public class VideoApi {
     }
 
     @ApiOperation("更改查看标记")
-    @ApiImplicitParam(name = "videoId", required = true, value = "视频id")
     @PostMapping("/check/{id}")
     public ResponseJson checkVideo(@PathVariable("id") Integer videoId) {
         return videoService.checkVideo(videoId);

+ 1 - 1
src/main/java/com/caimei/controller/wechat/WxAuthApi.java

@@ -77,7 +77,7 @@ public class WxAuthApi {
 
     @ApiOperation("明星机构列表")
     @ApiImplicitParam(name = "authUserId", required = false, value = "供应商用户id")
-    @GetMapping("/club/list")
+    @GetMapping("/club/start/list")
     public ResponseJson<List<WxClubListVo>> getStarClubList(Integer authUserId) {
         if (null == authUserId) {
             return ResponseJson.error("参数异常,供应商用户id不能为空", null);