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'];