...
|
...
|
@@ -18,9 +18,9 @@ class Manager extends Base |
|
|
/**
|
|
|
* 登录 @param $account:账号 $password:密码
|
|
|
*/
|
|
|
public function login($account,$password){
|
|
|
public function login($username,$password){
|
|
|
//获取当前用户的账号详情
|
|
|
$info = $this->read(['account'=>$account,'password'=>$password]);
|
|
|
$info = $this->read(['username'=>$username,'password'=>$password]);
|
|
|
if(empty($info) || $info['status'] == 1){
|
|
|
return [];
|
|
|
}
|
...
|
...
|
|