From fecdb1080e9564fb365248bd1629c3739dda7727 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Mon, 14 Oct 2019 16:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E5=B0=8F=E5=8F=B7=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=BF=94=E5=9B=9E=E8=AF=A6=E7=BB=86=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=A1=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/controllers/PhoneController.php b/frontend/controllers/PhoneController.php index 021d443..80e5638 100644 --- a/frontend/controllers/PhoneController.php +++ b/frontend/controllers/PhoneController.php @@ -603,7 +603,6 @@ public function actionPushApi() ); - $assign_info = NetworkPhoneAssignT::findOne(['id'=>$assign_id]); $sub_info = NetworkPhoneSubT::findOne(['id'=>$id]); @@ -633,7 +632,6 @@ public function actionPushApi() $parmas['area_code']=''; $parmas['sign']=$sign; - // 3E8QV35pHjjev1713E61xV3tFq1N1E4W $ch = curl_init();//初始化curl curl_setopt($ch,CURLOPT_URL,$uri);//访问地址 @@ -649,6 +647,8 @@ public function actionPushApi() if($succ->code == 0){ $sub_info->bind_id = $succ->data->bind_id; $sub_info->save(); + } else { + $res .= print_r($parmas,true); } $result['msg'] = $res;