dever 6 年之前
父节点
当前提交
35b73ec213
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      act/database/comment.php
  2. 1 0
      act/lib/Comment.php

+ 1 - 0
act/database/comment.php

@@ -142,6 +142,7 @@ return array
 			'option' => array
 			(
 				'uid' => 'yes',
+				'type' => array('yes', 'in'),
 				'data_id' => 'yes',
 				'type' => 'yes',
 				'state' => 1,

+ 1 - 0
act/lib/Comment.php

@@ -45,6 +45,7 @@ class Comment
     public function getList($uid)
     {
         $where['uid'] = $uid;
+        $where['type'] = '1,2,3,6';
         $info = Dever::db('act/comment')->getAll($where);
 
         return $info;