diff --git a/app/admin/controller/AdminInfo.php b/app/admin/controller/AdminInfo.php
index 6b3aec5e..f463a7df 100644
--- a/app/admin/controller/AdminInfo.php
+++ b/app/admin/controller/AdminInfo.php
@@ -142,9 +142,15 @@ class AdminInfo extends AdminBase
{
$id = session('user_id');
$ad = new AD;
- // $adInfo = $ad->where('id', session('user_id'))
- // ->field('zhiwu_id, ')
- // ->find();
+ $adInfo = $ad->where('id', session('user_id'))
+ ->field('zhiwu_id')
+ ->find();
+
+ $bzr = new \app\teach\model\BanZhuRen;
+ $banji_id = $bzr->srcTeacherNow($id);
+
+ return $banji_id;
+
}
diff --git a/app/admin/view/index/create.html b/app/admin/view/index/create.html
index 132d09e0..de8ac218 100755
--- a/app/admin/view/index/create.html
+++ b/app/admin/view/index/create.html
@@ -249,6 +249,11 @@
+
+
+
{/block}
diff --git a/app/event/MyEvent.php b/app/event/MyEvent.php
index ac321614..6c25d39c 100755
--- a/app/event/MyEvent.php
+++ b/app/event/MyEvent.php
@@ -57,7 +57,7 @@ class MyEvent
public function userInfo()
{
$ad = new AdminInfo;
- $adinfo = $kaoshi->myInfo();
+ $adinfo = $ad->myQuanxian();
return $adinfo;
}
diff --git a/app/system/controller/SystemBase.php b/app/system/controller/SystemBase.php
index 9078a93e..1d6051ed 100755
--- a/app/system/controller/SystemBase.php
+++ b/app/system/controller/SystemBase.php
@@ -16,7 +16,7 @@ class SystemBase extends AdminBase
// 获取用户信息
$sys = new sysbasemod;
$list['data'] = $sys
- ->field('id, keywords, description, thinks, danwei, gradelist, classmax, classalias, xuenian, teacherrongyu, teacherketi, studefen, sys_title')
+ ->field('id, keywords, description, thinks, danwei, gradelist, classmax, classalias, xuenian, studefen, sys_title')
->order(['id' => 'desc'])
->find();
@@ -50,8 +50,6 @@ class SystemBase extends AdminBase
,'classmax'
,'classalias'
,'xuenian'
- ,'teacherrongyu'
- ,'teacherketi'
,'studefen'
,'sys_title'
], 'put');
@@ -81,8 +79,6 @@ class SystemBase extends AdminBase
$sysList->classmax = $list['classmax'];
$sysList->classalias = $list['classalias'];
$sysList->xuenian = $list['xuenian'];
- $sysList->teacherrongyu = $list['teacherrongyu'];
- $sysList->teacherketi = $list['teacherketi'];
$sysList->studefen = $list['studefen'];
$sysList->sys_title = $list['sys_title'];
$data = $sysList->save();
diff --git a/app/system/validate/SystemBase.php b/app/system/validate/SystemBase.php
index 7a506b44..be4afde6 100755
--- a/app/system/validate/SystemBase.php
+++ b/app/system/validate/SystemBase.php
@@ -22,8 +22,6 @@ class SystemBase extends Validate
'gradelist|年级最大数' => 'require|length:1,200',
'classmax|年级最大数' => 'require|integer',
'classalias|别名' => 'require|boolean',
- 'teacherrongyu|教师查询荣誉' => 'require|boolean',
- 'teacherketi|教师查询课题' => 'require|boolean',
];
/**
@@ -45,8 +43,6 @@ class SystemBase extends Validate
,'gradelist'
,'classmax'
,'classalias'
- ,'teacherrongyu'
- ,'teacherketi'
],
];
}
diff --git a/app/system/view/system_base/edit.html b/app/system/view/system_base/edit.html
index ffd03337..6d3a9f81 100755
--- a/app/system/view/system_base/edit.html
+++ b/app/system/view/system_base/edit.html
@@ -82,54 +82,6 @@
>
-
-