成绩列表
This commit is contained in:
1 parent
7219fd68d5
commit
da61ff105c
17 files changed
+366
-560
No files matched your search
@@ -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];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user