north 8 年之前
父節點
當前提交
4fe769e9d1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      www/protected/modules/o2o/controllers/OrderController.php

+ 1 - 0
www/protected/modules/o2o/controllers/OrderController.php

@@ -169,6 +169,7 @@ class  OrderController extends O2oBaseController{
                 $weekend_check = (date('w',strtotime($booking_time))==0 || date('w',strtotime($booking_time))==6)?1:0;
                 $booking_hour = date('H',strtotime($booking_time));
                 if($weekend_check){
+                    var_dump($coupon);exit;
                     if($coupon->workday_limit==1){
                         CommonFn::requestAjax(false,CommonFn::getMessage('o2o','coupon_unuseable'));
                     }