正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -135,7 +135,7 @@ class Project extends Api | @@ -135,7 +135,7 @@ class Project extends Api | ||
135 | ->select(); | 135 | ->select(); |
136 | foreach ($data as &$v){ | 136 | foreach ($data as &$v){ |
137 | $impower = Db::name('impower')->where('project_id',$v['id'])->find(); | 137 | $impower = Db::name('impower')->where('project_id',$v['id'])->find(); |
138 | - if(!empty($impower)){ | 138 | + if(empty($impower)){ |
139 | $v['shou'] = 1; | 139 | $v['shou'] = 1; |
140 | }else{ | 140 | }else{ |
141 | $v['shou'] = 2; | 141 | $v['shou'] = 2; |
-
请 注册 或 登录 后发表评论