dever %!s(int64=7) %!d(string=hai) anos
pai
achega
7940cf584b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      task/src/Info.php

+ 1 - 0
task/src/Info.php

@@ -210,6 +210,7 @@ class Info extends Base
     {
     {
         # 查看该用户完成的报告数
         # 查看该用户完成的报告数
         $where = array();
         $where = array();
+        $where['task_id'] = $data['id'];
         $where['uid'] = $data['uid'];
         $where['uid'] = $data['uid'];
         $where['status'] = 2;
         $where['status'] = 2;
         $log = Dever::db('task/user_score_log')->getAll($where);
         $log = Dever::db('task/user_score_log')->getAll($where);