|
|
|
@ -320,7 +320,6 @@ public function actionDownload(){ |
|
|
|
|
$phone = $request->post('phone',''); |
|
|
|
|
$is_double = $request->post('is_double',0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($user_id == 0) { |
|
|
|
|
$result['msg'] = '请输入人员名称!'; |
|
|
|
|
return $result; |
|
|
|
@ -331,10 +330,7 @@ public function actionDownload(){ |
|
|
|
|
return $result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$tran = NetworkPhoneAssignT::getDb()->beginTransaction(); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
$row = null; |
|
|
|
|
if($id > 0) { |
|
|
|
@ -377,6 +373,9 @@ public function actionDownload(){ |
|
|
|
|
'op' => 'add', |
|
|
|
|
'phone' => $phone |
|
|
|
|
]; |
|
|
|
|
echo $url."||"; |
|
|
|
|
var_dump($params); |
|
|
|
|
exit; |
|
|
|
|
$client = new Client(); |
|
|
|
|
$res = $client->request('POST', $url, [ |
|
|
|
|
'form_params' => $params, |
|
|
|
|