@@ -15,8 +15,8 @@ $status = array
(
1 => '未认证',
2 => '正常',
- 3 => '驳回',
- 4 => '已删除',
+ //3 => '驳回',
+ //4 => '已删除',
5 => '已禁用',
);
@@ -21,8 +21,10 @@ class Core
$this->user = Dever::db('agent/member')->find($this->uid);
}
- if ($this->user) {
+ if ($this->user && $this->user['status'] <= 2) {
$this->user['uid'] = $this->user['id'];
+ } else {
+ Dever::alert('请先登录', -2);