Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
xunj
/
festival-activites
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3abfcf60
authored
Feb 22, 2021
by
xunj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
正是上线发布版本
1 parent
4ec83e71
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
14 deletions
activity-admin/src/main/java/com/polysoft/activity/config/SwaggerConfig.java
activity-admin/src/main/resources/application.yml
activity-admin/src/main/resources/mapper/UserInfoMapper.xml
activity-admin/src/main/java/com/polysoft/activity/config/SwaggerConfig.java
View file @
3abfcf6
...
...
@@ -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
activity-admin/src/main/resources/application.yml
View file @
3abfcf6
...
...
@@ -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
:
...
...
activity-admin/src/main/resources/mapper/UserInfoMapper.xml
View file @
3abfcf6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment