1、修改两处手误bug
2、api接口更新
This commit is contained in:
@@ -65,6 +65,7 @@ class Api {
|
||||
$token = authcode($header['accesstoken']);
|
||||
list($uid, $username, $password) = explode('|', $token);
|
||||
$this->user = model('Member')->where('uid', $uid)->where('username', $username)->find();
|
||||
|
||||
if ($this->user && $password === $this->user['password']) {
|
||||
return true;
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user