Преглед на файлове

删除swagger相关注解

Devli преди 1 година
родител
ревизия
d5fcf6ad75

+ 2 - 2
report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportshare/controller/ReportShareController.java

@@ -12,7 +12,7 @@ import com.anjiplus.template.gaea.business.modules.reportshare.controller.dto.Re
 import com.anjiplus.template.gaea.business.modules.reportshare.controller.param.ReportShareParam;
 import com.anjiplus.template.gaea.business.modules.reportshare.dao.entity.ReportShare;
 import com.anjiplus.template.gaea.business.modules.reportshare.service.ReportShareService;
-import io.swagger.annotations.Api;
+
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
@@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.*;
  * @date 2021-08-18 13:37:26.663
  **/
 @RestController
-@Api(tags = "报表分享管理")
+
 @RequestMapping("/reportShare")
 @Permission(code = "reportShareManage", name = "报表分享管理")
 public class ReportShareController extends GaeaBaseController<ReportShareParam, ReportShare, ReportShareDto> {

+ 0 - 10
report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportshare/controller/dto/ReportShareDto.java

@@ -3,9 +3,7 @@ package com.anjiplus.template.gaea.business.modules.reportshare.controller.dto;
 
 import java.io.Serializable;
 
-import com.anji.plus.gaea.annotation.Formatter;
 import com.anji.plus.gaea.curd.dto.GaeaBaseDTO;
-import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import javax.validation.constraints.NotEmpty;
@@ -21,38 +19,30 @@ import java.util.Date;
 @Data
 public class ReportShareDto extends GaeaBaseDTO implements Serializable {
     /** 分享编码,系统生成,默认UUID */
-    @ApiModelProperty(value = "分享编码,系统生成,默认UUID")
     private String shareCode;
 
     /** 分享有效期类型,DIC_NAME=SHARE_VAILD */
-    @ApiModelProperty(value = "分享有效期类型,DIC_NAME=SHARE_VAILD")
     @NotNull(message = "6002")
     private Integer shareValidType;
 
     /** 分享有效期 */
-    @ApiModelProperty(value = "分享有效期")
     private Date shareValidTime;
 
     /** 分享token */
-    @ApiModelProperty(value = "分享token")
     private String shareToken;
 
     /** 分享url */
-    @ApiModelProperty(value = "分享url")
     @NotEmpty(message = "6002")
     private String shareUrl;
 
     /** 报表编码 */
-    @ApiModelProperty(value = "报表编码")
     @NotEmpty(message = "6002")
     private String reportCode;
 
     /** 0--已禁用 1--已启用  DIC_NAME=ENABLE_FLAG */
-    @ApiModelProperty(value = "0--已禁用 1--已启用  DIC_NAME=ENABLE_FLAG")
     private Integer enableFlag;
 
     /** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
-    @ApiModelProperty(value = "0--未删除 1--已删除 DIC_NAME=DELETE_FLAG")
     private Integer deleteFlag;
 
     /** 分享码 */

+ 0 - 1
report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportshare/controller/param/ReportShareParam.java

@@ -4,7 +4,6 @@ package com.anjiplus.template.gaea.business.modules.reportshare.controller.param
 import com.anji.plus.gaea.annotation.Query;
 import com.anji.plus.gaea.constant.QueryEnum;
 import com.anji.plus.gaea.curd.params.PageParam;
-import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
 
 import java.io.Serializable;