yangsai@163.com 6 months ago
parent e4c11fb2d5
commit 4ddb0d0dbc
  1. 6
      application/controllers/Admin/Login.php

@ -23,4 +23,10 @@ class Admin_LoginController extends Ctrl_Admin{
$data['token'] = Tool_Fnc::markmd5($AdminInfo['admin_token'],$AdminInfo['admin_password']);
Tool_Fnc::apiMsg('登陆成功',20000,$data);
}
public function infoAction(){
$data['avatar'] = "";
$data['introduction'] = "";
$data['name'] = "admin";
$data['roles'][] = "admin";
}
}
Loading…
Cancel
Save