From d753d68a3fd94a8aef5c58c3b8e9c73a04ba6d67 Mon Sep 17 00:00:00 2001 From: tping Date: Thu, 5 Mar 2020 16:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=BE=E7=AC=AC=E4=B8=80=E6=AC=A1=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=BB=91=E5=AE=9A=E7=9A=84=E6=8E=A8=E5=B9=BF=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/UserController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 2b6fd7ae..0b197503 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -388,14 +388,14 @@ class UserController extends BaseController if ($deviceInfoByDevice) { $changeFlag = true; $changePromoteId = $deviceInfoByDevice['promote_id']; - $changePromoteAccount = $deviceInfoByDevice['promote_account']; + $changePromoteAccount = get_promote_account($changePromoteId); } } } else { // 没有推广员的情况下直接绑定这个设备 if ($deviceInfoByDevice) { // 这个设备绑定过推官员的修改成改推广员 $changeFlag = true; $changePromoteId = $deviceInfoByDevice['promote_id']; - $changePromoteAccount = $deviceInfoByDevice['promote_account']; + $changePromoteAccount = get_promote_account($changePromoteId); } }