作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

测试问题修改

@@ -100,11 +100,11 @@ class MemberController extends CommentController @@ -100,11 +100,11 @@ class MemberController extends CommentController
100 if(!empty($data['type'])){ 100 if(!empty($data['type'])){
101 if($data['type'] == 6|| $data['type'] == 7 || $data['type'] == 8 || $data['type'] == 10 ){ 101 if($data['type'] == 6|| $data['type'] == 7 || $data['type'] == 8 || $data['type'] == 10 ){
102 $where_compare['l.status'] = $data['type']; 102 $where_compare['l.status'] = $data['type'];
103 - if($data['type'] == 6){  
104 - $where_order['o.status'] = array('in','6,10');  
105 - }else { 103 +// if($data['type'] == 6){
  104 +// $where_order['o.status'] = array('in','6,10');
  105 +// }else {
106 $where_order['o.status'] = 6; 106 $where_order['o.status'] = 6;
107 - } 107 +// }
108 }else{ 108 }else{
109 $where_order['o.status'] = $data['type']; 109 $where_order['o.status'] = $data['type'];
110 110