|
@@ -153,6 +153,8 @@ public class AppHotelCouponAction extends ActionSupport implements ServletReques
|
|
|
public JSONObject cardCouponPage() {
|
|
public JSONObject cardCouponPage() {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
|
|
|
|
|
|
+ System.out.println("进入我的卡券接口");
|
|
|
|
|
+
|
|
|
if (Func.checkNull(types) || Func.checkNull(userId)) {
|
|
if (Func.checkNull(types) || Func.checkNull(userId)) {
|
|
|
jsonObject.put("code", 400);
|
|
jsonObject.put("code", 400);
|
|
|
jsonObject.put("success", false);
|
|
jsonObject.put("success", false);
|
|
@@ -161,6 +163,7 @@ public class AppHotelCouponAction extends ActionSupport implements ServletReques
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ System.out.println("进入我的卡券接口1");
|
|
|
if (page <= 0 || rows <= 0) {
|
|
if (page <= 0 || rows <= 0) {
|
|
|
jsonObject.put("code", 400);
|
|
jsonObject.put("code", 400);
|
|
|
jsonObject.put("success", false);
|
|
jsonObject.put("success", false);
|
|
@@ -169,8 +172,10 @@ public class AppHotelCouponAction extends ActionSupport implements ServletReques
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ System.out.println("进入我的卡券接口2");
|
|
|
IPage<CardCouponPageVo> iPage = hotelCoupomService.cardCouponPage(types, userId, page, rows);
|
|
IPage<CardCouponPageVo> iPage = hotelCoupomService.cardCouponPage(types, userId, page, rows);
|
|
|
|
|
|
|
|
|
|
+ System.out.println("进入我的卡券接口3");
|
|
|
jsonObject.put("code", 200);
|
|
jsonObject.put("code", 200);
|
|
|
jsonObject.put("success", true);
|
|
jsonObject.put("success", true);
|
|
|
jsonObject.put("message", "成功");
|
|
jsonObject.put("message", "成功");
|