Commit c94a9337 authored by hujun's avatar hujun

人员状态

parent 08601d36
...@@ -54,6 +54,14 @@ class Broker extends Basic ...@@ -54,6 +54,14 @@ class Broker extends Basic
return $this->response(101, '没有该用户',$data['data']); return $this->response(101, '没有该用户',$data['data']);
} }
if ($agents_data['status'] == 2) {
return $this->response(101, '您已离职',$data['data']);
}
if ($agents_data['status'] == 1) {
return $this->response(101, '账号已冻结',$data['data']);
}
if ($agents_data['password'] != md5($this->params['pwd'])) { if ($agents_data['password'] != md5($this->params['pwd'])) {
return $this->response(101, '密码错误',$data['data']); return $this->response(101, '密码错误',$data['data']);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment