Commit 92ad1908 authored by hezhen's avatar hezhen

Merge branch 'master-tiande' into dev-tiande

parents ddc0795a dd14fd05
...@@ -12,14 +12,12 @@ import com.xxfc.platform.tour.dto.TourGoodDTO; ...@@ -12,14 +12,12 @@ import com.xxfc.platform.tour.dto.TourGoodDTO;
import com.xxfc.platform.tour.entity.TourGood; import com.xxfc.platform.tour.entity.TourGood;
import com.xxfc.platform.tour.vo.TourGoodDetailVo; import com.xxfc.platform.tour.vo.TourGoodDetailVo;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@RestController @RestController
@RequestMapping("good") @RequestMapping("good")
@IgnoreClientToken @IgnoreClientToken
@Slf4j
public class TourGoodAdminController extends BaseController<TourGoodBiz, TourGood> implements UserRestInterface { public class TourGoodAdminController extends BaseController<TourGoodBiz, TourGood> implements UserRestInterface {
@Autowired @Autowired
...@@ -34,10 +32,9 @@ public class TourGoodAdminController extends BaseController<TourGoodBiz, TourGoo ...@@ -34,10 +32,9 @@ public class TourGoodAdminController extends BaseController<TourGoodBiz, TourGoo
} }
@ApiOperation("后台查询旅游路线列表") @ApiOperation("后台查询旅游路线列表")
@RequestMapping(value = "/admin/goodList", method = RequestMethod.GET) @RequestMapping(value = "/admin/goodList", method = RequestMethod.POST)
public ObjectRestResponse<TourGood> goodList(GoodSearchDTO dto) { public ObjectRestResponse<TourGood> goodList(@RequestBody GoodSearchDTO dto) {
setPowerData(dto,true); setPowerData(dto,true);
log.info("GoodSearchDTO",dto);
return ObjectRestResponse.succ(baseBiz.getAll(dto)); return ObjectRestResponse.succ(baseBiz.getAll(dto));
} }
......
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