Commit be341868 authored by hezhen's avatar hezhen

1233

parent 82ea34b7
...@@ -29,7 +29,7 @@ public class TourBannerController extends BaseController<TourBannerBiz,TourBanne ...@@ -29,7 +29,7 @@ public class TourBannerController extends BaseController<TourBannerBiz,TourBanne
@GetMapping("/app/unauth/findBannerlist") @GetMapping("/app/unauth/findBannerlist")
public ObjectRestResponse findBannerlist(@RequestParam("type") Integer type){ public ObjectRestResponse findBannerlist(@RequestParam("type") Integer type){
if (type==null||type!=0||type==1) { if (type==null) {
return ObjectRestResponse.createDefaultFail(); return ObjectRestResponse.createDefaultFail();
} }
List<TourBanner> bannerList = bannerBiz.findBannerList(type); List<TourBanner> bannerList = bannerBiz.findBannerList(type);
......
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