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

测试问题修改

@@ -100,13 +100,14 @@ class MemberController extends CommentController @@ -100,13 +100,14 @@ 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 - $where_order['o.status'] = 6;  
104 - }else{  
105 if($data['type'] == 6){ 103 if($data['type'] == 6){
106 $where_order['o.status'] = array('in','6,10'); 104 $where_order['o.status'] = array('in','6,10');
107 - }else{  
108 - $where_order['o.status'] = $data['type']; 105 + }else {
  106 + $where_order['o.status'] = 6;
109 } 107 }
  108 + }else{
  109 + $where_order['o.status'] = $data['type'];
  110 +
110 } 111 }
111 112
112 }else{ 113 }else{