dever 6 years ago
parent
commit
7afc9f71c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      act/lib/Note.php

+ 1 - 1
act/lib/Note.php

@@ -69,7 +69,7 @@ class Note
             $date = 300;
             foreach ($data as $k => $v) {
                 $table = Dever::config('base')->type_table[$v['type']];
-                $info = Dever::db($table)->one($v['id']);
+                $info = Dever::db($table)->one($v['data_id']);
                 if ($info && $v['type'] == 3 && isset($info['sdate']) && $info['sdate'] > 0 && $info['sdate'] > $time && $info['sdate'] - $time <= $date) {
 
                     $user = Dever::db('passport/user')->one($v['uid']);