Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
6dde545c
Commit
6dde545c
authored
Nov 15, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改官网旅游路线
parent
27ff2b5e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
177 additions
and
149 deletions
+177
-149
TourGoodBiz.java
...src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
+173
-145
OfficialWebsiteTourController.java
...r/rest/officialWebsite/OfficialWebsiteTourController.java
+3
-3
TourGoodMapper.xml
...-tour-server/src/main/resources/mapper/TourGoodMapper.xml
+1
-1
No files found.
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
View file @
6dde545c
This diff is collapsed.
Click to expand it.
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/rest/officialWebsite/OfficialWebsiteTourController.java
View file @
6dde545c
...
@@ -14,19 +14,19 @@ import org.springframework.web.bind.annotation.*;
...
@@ -14,19 +14,19 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RestController
@RequestMapping
(
"
website
"
)
@RequestMapping
(
"
/website/app/unauth
"
)
@IgnoreClientToken
@IgnoreClientToken
@IgnoreUserToken
@IgnoreUserToken
@Api
(
tags
=
{
"官网"
})
@Api
(
tags
=
{
"官网"
})
public
class
OfficialWebsiteTourController
extends
BaseController
<
TourGoodBiz
,
TourGood
>
{
public
class
OfficialWebsiteTourController
extends
BaseController
<
TourGoodBiz
,
TourGood
>
{
@PostMapping
(
"/
app/unauth/
tour"
)
@PostMapping
(
"/tour"
)
public
ObjectRestResponse
homePageTour
(
@RequestBody
WebsiteQuery
query
)
throws
Exception
{
public
ObjectRestResponse
homePageTour
(
@RequestBody
WebsiteQuery
query
)
throws
Exception
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
homePageTour
(
query
));
return
ObjectRestResponse
.
succ
(
baseBiz
.
homePageTour
(
query
));
}
}
@GetMapping
(
"/
app/unauth/
tour/new"
)
@GetMapping
(
"/tour/new"
)
public
ObjectRestResponse
newTour
(
@RequestParam
(
value
=
"limit"
,
defaultValue
=
"6"
)
Integer
limit
)
{
public
ObjectRestResponse
newTour
(
@RequestParam
(
value
=
"limit"
,
defaultValue
=
"6"
)
Integer
limit
)
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
newTour
(
limit
));
return
ObjectRestResponse
.
succ
(
baseBiz
.
newTour
(
limit
));
}
}
...
...
xx-tour/xx-tour-server/src/main/resources/mapper/TourGoodMapper.xml
View file @
6dde545c
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
ORDER BY g.rank DESC ,g.id DESC
ORDER BY g.rank DESC ,g.id DESC
</select>
</select>
<select
id=
"getList"
resultType=
"com.
github.wxiaoqi.security.common.vo.GoodDataVO
"
>
<select
id=
"getList"
resultType=
"com.
xxfc.platform.tour.entity.TourGood
"
>
SELECT
SELECT
g.id AS `id`,
g.id AS `id`,
g. NAME AS `name`,
g. NAME AS `name`,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment