修改班级获取器

This commit is contained in:
巴掌 committed 2020-07-20 09:57:13 +08:00
1 parent e170abfdb4
commit b34b7ac989
15 files changed
+149 -92

No files matched your search

+2 -12
View File
@@ -23,11 +23,11 @@
}
function nianJiNameList($riqi=0)
function nianJiNameList($value = 'str', $riqi = 0)
{
// 实例化年级控制器
$bj = new \app\teach\model\Banji;
$njList= $bj->gradeName($riqi);
$njList= $bj->gradeName($value, $riqi);
return $njList;
}
@@ -42,16 +42,6 @@
}
/**
* $date是时间戳
* $type为1的时候是虚岁,2的时候是周岁
*/
function getAgeByBirth($date = 0, $type = 1){
$tearch = new \app\teacher\model\Tearcher;
$age = $tearch->fBirth($data, $type);
return $age;
}
// EXCEL表格列名
function excelColumnName()