作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

bug修改

@@ -1515,6 +1515,7 @@ class User extends Api @@ -1515,6 +1515,7 @@ class User extends Api
1515 $page = $this->request->param('page', 1, 'intval'); 1515 $page = $this->request->param('page', 1, 'intval');
1516 $page_num = $this->request->param('page_num', 10, 'intval'); 1516 $page_num = $this->request->param('page_num', 10, 'intval');
1517 $flag = $this->request->param('flag'); 1517 $flag = $this->request->param('flag');
  1518 + $where['user_id'] = $this->auth->id;
1518 $where['status'] = '1'; 1519 $where['status'] = '1';
1519 switch ($flag) { 1520 switch ($flag) {
1520 case '1': 1521 case '1':