@@ -136,7 +136,7 @@ class Api
Dever::alert('没有账户信息');
}
- if (!$this->uid || !$this->username) {
+ if (!$this->uid) {
Dever::alert('没有用户信息');