0
This commit is contained in:
1 parent
15fadce52e
commit
3cc99a646c
4 files changed
+8
-14
No files matched your search
@@ -149,7 +149,7 @@ class Index extends AdminBase
|
||||
|
||||
|
||||
// 读取用户信息
|
||||
public function myinfo()
|
||||
public function myInfo()
|
||||
{
|
||||
$id = session('user_id');
|
||||
$ad = new AD;
|
||||
@@ -289,7 +289,7 @@ class Index extends AdminBase
|
||||
|
||||
|
||||
// 重置密码
|
||||
public function resetpassword($id)
|
||||
public function resetPassword($id)
|
||||
{
|
||||
// 生成密码
|
||||
$md5 = new APR1_MD5();
|
||||
|
||||
@@ -21,10 +21,10 @@ Route::group('index', function () {
|
||||
Route::rule('update/<id>', 'Index/update', 'put'); # 更新信息
|
||||
Route::rule('delete/<id>', 'Index/delete', 'delete'); # 删除信息
|
||||
Route::rule('status', 'Index/setStatus', 'post'); # 删除信息
|
||||
Route::rule('resetpassword/<id>', 'Index/resetpassword', 'post'); # 重置密码
|
||||
Route::rule('resetpassword/<id>', 'Index/resetPassword', 'post'); # 重置密码
|
||||
Route::rule('editpassword', 'Index/editPassword', 'get'); # 修改密码
|
||||
Route::rule('updatepassword/<id>', 'Index/updatePassword', 'put'); # 更新密码
|
||||
Route::rule('myinfo', 'Index/myinfo', 'get'); # 用户信息
|
||||
Route::rule('myinfo', 'Index/myInfo', 'get'); # 用户信息
|
||||
Route::rule('adminlist', 'Index/adminList', 'post'); # 用户信息
|
||||
});
|
||||
|
||||
|
||||
@@ -93,6 +93,8 @@ class Index extends AdminBase
|
||||
,'bfdate'
|
||||
,'enddate'
|
||||
,'zuzhi_id'
|
||||
,'user_group' => session('onlineCategory')
|
||||
,'user_id' => session('user_id')
|
||||
], 'post');
|
||||
|
||||
// 验证表单数据
|
||||
@@ -102,9 +104,6 @@ class Index extends AdminBase
|
||||
if(!$result){
|
||||
return json(['msg' => $msg, 'val' => 0]);
|
||||
}
|
||||
$list['user_id'] = session('user_id');
|
||||
$list['user_group'] = 'admin';
|
||||
// $list['jibie_id'] = 1;
|
||||
|
||||
// 保存数据
|
||||
$ks = new KS();
|
||||
@@ -175,9 +174,6 @@ class Index extends AdminBase
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 设置成绩是否允许操作
|
||||
public function luru()
|
||||
{
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user