Commit 3abfcf60 by xunj

正是上线发布版本

1 parent 4ec83e71
......@@ -18,19 +18,20 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableSwagger2
public class SwaggerConfig {
public ApiInfo apiInfo() {
return new ApiInfoBuilder().title("宝利")
.description("宝利")
.version("1.0")
.build();
}
@Bean
public Docket createRestApi() {
return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo())
return new Docket(DocumentationType.SWAGGER_2).
apiInfo(apiInfo())
.select()
.apis(RequestHandlerSelectors.basePackage("com.polysoft.activity.controller"))
.paths(PathSelectors.any())
.build();
}
public ApiInfo apiInfo() {
return new ApiInfoBuilder().title("宝利")
.description("宝利")
.version("1.0")
.build();
}
}
\ No newline at end of file
......@@ -10,10 +10,6 @@ spring:
max-file-size: 100MB
max-request-size: 100MB
enabled: true
mvc:
static-path-pattern: /upload/record/**
resources:
static-locations: file:${record.upload.url}
messages:
encoding: UTF-8
http:
......
......@@ -155,9 +155,6 @@
create_time =#{createTime}
where id = #{id}
</insert>
<insert id="saveCattle" parameterType="com.polysoft.activity.model.param.UserCattleParam">
insert into t_user_cattle (id,user_id,cattle_brand_id)VALUES (#{id},#{userId},#{cattleId})
</insert>
<select id="getUserByComposeStatus" parameterType="com.polysoft.activity.model.dto.UserInfoForComposeStatusDto"
resultType="com.polysoft.activity.model.vo.UserInfoVO">
SELECT
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!