|
@@ -86,6 +86,11 @@ Class Info
|
|
$where['type'] = 3;
|
|
$where['type'] = 3;
|
|
} else {
|
|
} else {
|
|
$where['type'] = 2;
|
|
$where['type'] = 2;
|
|
|
|
+ if ($where['status_id'] == 3 || $where['status_id'] == 4){
|
|
|
|
+ $where['type'] = 3;
|
|
|
|
+ } elseif ($where['status_id'] == 7) {
|
|
|
|
+ $where['type'] = 6;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
$where['follow'] = $follow;
|
|
$where['follow'] = $follow;
|
|
if ($info['follow_group_id'] && $info['follow_group_id']!=$follow[0]) {
|
|
if ($info['follow_group_id'] && $info['follow_group_id']!=$follow[0]) {
|
|
@@ -112,6 +117,11 @@ Class Info
|
|
if ($info) {
|
|
if ($info) {
|
|
if ($follow && $follow[0]<0) {
|
|
if ($follow && $follow[0]<0) {
|
|
$where['type'] = 2;
|
|
$where['type'] = 2;
|
|
|
|
+ if ($where['status_id'] == 3 || $where['status_id'] == 4){
|
|
|
|
+ $where['type'] = 3;
|
|
|
|
+ } elseif ($where['status_id'] == 7) {
|
|
|
|
+ $where['type'] = 6;
|
|
|
|
+ }
|
|
$auth = Dever::load("manage/auth.info");
|
|
$auth = Dever::load("manage/auth.info");
|
|
$admin_group = Dever::db('manage/admin_group')->all(array('admin_id'=>$auth['id']));
|
|
$admin_group = Dever::db('manage/admin_group')->all(array('admin_id'=>$auth['id']));
|
|
foreach ($admin_group as $k => $v) {
|
|
foreach ($admin_group as $k => $v) {
|
|
@@ -139,7 +149,7 @@ Class Info
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
$w['admin_id'] = $where['follow'];
|
|
$w['admin_id'] = $where['follow'];
|
|
$w['info_id'] = $id;
|
|
$w['info_id'] = $id;
|