修改班级统计数量错误问题
This commit is contained in:
1 parent
49ea8b6d41
commit
c0bbaefca9
1 file changed
+2
-1
@@ -120,7 +120,6 @@ class Tongji extends Base
|
||||
];
|
||||
}
|
||||
|
||||
$cnt = count($data);
|
||||
|
||||
$data = array_slice($data,($src['page']-1)*$src['limit'],$src['limit']);
|
||||
|
||||
@@ -132,6 +131,8 @@ class Tongji extends Base
|
||||
'chengji'=>$temp
|
||||
];
|
||||
|
||||
$cnt = count($data);
|
||||
|
||||
// 重组返回内容
|
||||
$data = [
|
||||
'code'=> 0 , // ajax请求次数,作为标识符
|
||||
|
||||
Reference in new issue
Block a user