Commit d6433a98 authored by hujun's avatar hujun

经纪人登录状态

parent 0681cd48
......@@ -61,6 +61,8 @@ class Broker extends Basic
*/
public function login()
{
return $this->response(101, '请升级');
$data['data'] = [];
if (empty($this->params['phone']) && empty($this->params['pwd'])) {
......@@ -158,7 +160,7 @@ class Broker extends Basic
}
}
if (!$status) {
if ($status) {
switch ($agents_data['status']) {
case 1 :
$msg = '您目前是长假状态,请联系人事进行更改';break;
......
......@@ -82,7 +82,7 @@ class Login extends Basic
return $this->response(101, '用户名或密码错误');
}
if (!$user_data['status']) {
if ($user_data['status']) {
switch ($user_data['status']) {
case 1 :
$msg = '您目前是长假状态,请联系人事进行更改。';break;
......
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