From 4bbd63a89462976dca3983e1faea66aa2ea79f8b Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 16 Dec 2020 09:37:19 +0800 Subject: [PATCH] 1 --- Application/Sdk/Controller/FengHuoApi2Controller.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/FengHuoApi2Controller.class.php b/Application/Sdk/Controller/FengHuoApi2Controller.class.php index 941c2561..575fe32a 100644 --- a/Application/Sdk/Controller/FengHuoApi2Controller.class.php +++ b/Application/Sdk/Controller/FengHuoApi2Controller.class.php @@ -377,7 +377,7 @@ class FengHuoApi2Controller extends GetInfoBaseController{ }else{ $promoteInfo = M('promote','tab_') ->field('account') - ->where('id',$promoteId) + ->where(['id' => $promoteId]) ->find(); $data[$k]['promote_id'] = $promoteId; $data[$k]['promote_account'] = $promoteInfo['account'];