dever 6 years ago
parent
commit
1b948dd518
4 changed files with 4 additions and 4 deletions
  1. 1 1
      act/database/invite.php
  2. 1 1
      act/database/subscribe.php
  3. 1 1
      act/lib/Invite.php
  4. 1 1
      act/lib/Subscribe.php

+ 1 - 1
act/database/invite.php

@@ -124,7 +124,7 @@ return array
 				'uid' => 'yes',
 				'data_id' => 'yes',
 				'type' => 'yes',
-				'temp' => array('yes-t_2.temp'),
+				'avatar' => array('yes-t_2.avatar', '!='),
 				'state' => 1,
 			),
 			# 联表

+ 1 - 1
act/database/subscribe.php

@@ -126,7 +126,7 @@ return array
 			(
 				'data_id' => 'yes',
 				'type' => 'yes',
-				'temp' => array('yes-t_2.temp'),
+				'avatar' => array('yes-t_2.avatar', '!='),
 				'state' => 1,
 			),
 			# 联表

+ 1 - 1
act/lib/Invite.php

@@ -15,7 +15,7 @@ class Invite
         if ($num > 0) {
             $where['page'] = array(6, 'list');
         }
-        $where['temp'] = 2;
+        $where['avatar'] = 'null';
         $data = Dever::db('act/invite')->getAll($where);
 
         /*

+ 1 - 1
act/lib/Subscribe.php

@@ -27,7 +27,7 @@ class Subscribe
     {
         $where['type'] = $type;
         $where['data_id'] = $id;
-        $where['temp'] = 2;
+        $where['avatar'] = 'null';
         $data = Dever::db('act/subscribe')->getAll($where);
 
         /*