From faf79e2b96a0ba6c5c1448dd6da71d573e35c784 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 1 Oct 2019 03:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mobile/Controller/UserController.class.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index b88cfbb7f..5ee3035a9 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -174,10 +174,17 @@ class UserController extends BaseController { ); } } else { - $data = array( - 'status' => 1, - 'msg' => '登录成功', - ); + if ($userData['promote_id'] == $promoteId) { + $data = array( + 'status' => 2, + 'msg' => '登录成功!绑定成功', + ); + } else { + $data = array( + 'status' => 0, + 'msg' => '号码已绑定其他推广员', + ); + } } } else { $data = array(