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