Sfoglia il codice sorgente

Merge branch 'master' of http://git.huxiukeji.com/lizhen/lanjingling

lizhen_gitee 1 anno fa
parent
commit
55e8075e02
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      application/api/controller/Order.php

+ 1 - 0
application/api/controller/Order.php

@@ -78,6 +78,7 @@ class Order extends Api
             $where[$o.'.company_id'] = $this->auth->company_id;
             $where[$o.'.ordertype'] = 3;//类型:1=预约下单,2=在线下单,3=套餐订单
             $where[$o.'.status'] = ['in',[1,2,3]];//状态:2=待处理,3=已完成,4=已取消
+            $where[$p.'.type'] = 1;//类型:1=普通,2=卡券
             if (!empty($status)) {
                 if ($status == 1) {
                     $where[$o.'.hexiao_time'] = 0;