正在显示
1 个修改的文件
包含
5 行增加
和
4 行删除
@@ -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{ |
-
请 注册 或 登录 后发表评论