|
|
|
@ -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; |
|
|
|
|