diff --git a/app/chengji/model/Tongji.php b/app/chengji/model/Tongji.php index 69df7929..941259b3 100755 --- a/app/chengji/model/Tongji.php +++ b/app/chengji/model/Tongji.php @@ -10,10 +10,11 @@ class Tongji extends BaseModel // 统计成绩 public function tongjiCnt($cj = array(), $subject_id) { + // halt($cj); $data = array(); // 循环统计各学科成绩 foreach ($subject_id as $key => $value) { - $cjcol = array_column($cj, $value['lieming']); + $cjcol = array_column($cj, $value['lieming'] . 'defen'); $cjcol = array_filter($cjcol, function($item){ return $item != null; diff --git a/public/.htaccess b/public/.htaccess index 3916a08b..85c6cc94 100755 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,7 +1,6 @@ Options +FollowSymlinks -Multiviews RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]