Commit 6dde545c authored by hanfeng's avatar hanfeng

修改官网旅游路线

parent 27ff2b5e
......@@ -14,19 +14,19 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("website")
@RequestMapping("/website/app/unauth")
@IgnoreClientToken
@IgnoreUserToken
@Api(tags = {"官网"})
public class OfficialWebsiteTourController extends BaseController<TourGoodBiz, TourGood> {
@PostMapping("/app/unauth/tour")
@PostMapping("/tour")
public ObjectRestResponse homePageTour(@RequestBody WebsiteQuery query) throws Exception {
return ObjectRestResponse.succ(baseBiz.homePageTour(query));
}
@GetMapping("/app/unauth/tour/new")
@GetMapping("/tour/new")
public ObjectRestResponse newTour(@RequestParam(value = "limit", defaultValue = "6") Integer limit) {
return ObjectRestResponse.succ(baseBiz.newTour(limit));
}
......
......@@ -123,7 +123,7 @@
ORDER BY g.rank DESC ,g.id DESC
</select>
<select id="getList" resultType="com.github.wxiaoqi.security.common.vo.GoodDataVO">
<select id="getList" resultType="com.xxfc.platform.tour.entity.TourGood">
SELECT
g.id AS `id`,
g. NAME AS `name`,
......
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