成绩列表

This commit is contained in:
小松树 committed 2019-04-19 16:55:24 +08:00
1 parent 7219fd68d5
commit da61ff105c
17 files changed
+366 -560

No files matched your search

+8 -1
View File
@@ -31,5 +31,12 @@ class Subject extends Base
public function sujCategory()
{
return $this->belongsTo('\app\system\model\Category','category','id');
}
}
// 是否参加考试获取器
public function getKaoshiAttr($value){
$kaoshi = array(0=>'否',1=>'是');
return $kaoshi[$value];
}
}