教师查询个人荣誉和课题

This commit is contained in:
巴掌 committed 2020-08-27 19:05:20 +08:00
1 parent 670b8fa4aa
commit dfe3a4d173
13 files changed
+483 -344

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
declare (strict_types = 1);
namespace app\zhengli\controller;
use app\base\controller\ToolsBase;
class CanKao1 extends BaseController
{
// 获取参考学科
public function subjectIdLieming($srcfrom)
{
$ksset = new \app\kaoshi\model\KaoshiSet;
$ksSubject = $ksset->srcSubject($srcfrom);
if(count($ksSubject)==0)
{
return $data = array();
}
$xk = array();
foreach ($ksSubject as $key => $value) {
$xk[$value['id']] = $value['lieming'];
}
return $xk;
}
}