Commit 30f5bad9 authored by 刘基明's avatar 刘基明

yapi-fix

parent fdc95ecd
package com.tanpu.community.api.beans.req.page; package com.tanpu.community.api.beans.req.page;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
...@@ -14,10 +13,8 @@ public class Pageable { ...@@ -14,10 +13,8 @@ public class Pageable {
public static final Integer DEFAULT_PAGE_NUMBER = 1; public static final Integer DEFAULT_PAGE_NUMBER = 1;
@ApiModelProperty(value = "页码")
public Integer pageNumber = DEFAULT_PAGE_NUMBER; public Integer pageNumber = DEFAULT_PAGE_NUMBER;
@ApiModelProperty(value = "页幅")
public Integer pageSize = DEFAULT_PAGE_SIZE; public Integer pageSize = DEFAULT_PAGE_SIZE;
public Pageable() { public Pageable() {
......
...@@ -7,8 +7,6 @@ import lombok.Builder; ...@@ -7,8 +7,6 @@ import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import java.io.Serializable;
/** /**
* @description: 用户信息 圈子使用 * @description: 用户信息 圈子使用
* @author: zejia zj wu * @author: zejia zj wu
...@@ -18,7 +16,7 @@ import java.io.Serializable; ...@@ -18,7 +16,7 @@ import java.io.Serializable;
@Builder @Builder
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@ApiModel(description = "用户信息 首席投顾专用信息") @ApiModel(value = "用户信息 首席投顾专用信息")
public class UserInfoNewChief { public class UserInfoNewChief {
......
...@@ -8,7 +8,6 @@ import org.springframework.cache.annotation.EnableCaching; ...@@ -8,7 +8,6 @@ import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@SpringBootApplication @SpringBootApplication
@EnableTransactionManagement @EnableTransactionManagement
...@@ -16,7 +15,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; ...@@ -16,7 +15,6 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableScheduling @EnableScheduling
@EnableFeignClients @EnableFeignClients
@EnableConfigurationProperties({ESConfig.class}) @EnableConfigurationProperties({ESConfig.class})
@EnableSwagger2
public class CommunityApplication { public class CommunityApplication {
public static void main(String[] args) { public static void main(String[] args) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment