Browse Source

支付

master
jianglong 2 years ago
parent
commit
b212ba0a84
  1. 8
      app/api/logic/ResourceLogic.php
  2. 2
      runtime/cache/45/ab3ad2419a7204a6ea4eedd2684368.php

8
app/api/logic/ResourceLogic.php

@ -77,11 +77,15 @@ class ResourceLogic extends Logic
$where[] = ['a.city_id', '=', str_replace("city_","",$get['cid'])]; $where[] = ['a.city_id', '=', str_replace("city_","",$get['cid'])];
} }
if(isset($get['cid']) && $get['cid'] == 20 && isset($get['city_id']) && $get['city_id']>0){
$where[] = ['a.city_id', '=', $get['city_id']];
}
if(isset($get['cate_type']) ){ if(isset($get['cate_type']) ){
if($get['cate_type'] == 0){ if($get['cate_type'] == 0){
$where[] = ['id','not in',[17,18,19,20,21]]; $where[] = ['c.id','not in',[17,18,19,20,21]];
}else{ }else{
$where[] = ['id','in',[17,18,19,20,21]]; $where[] = ['c.id','in',[17,18,19,20,21]];
} }
} }

2
runtime/cache/45/ab3ad2419a7204a6ea4eedd2684368.php

@ -1,4 +1,4 @@
<?php <?php
//000000001800 //000000001800
exit();?> exit();?>
1 4
Loading…
Cancel
Save