曾超新 5 years ago
parent 6409db6250
commit 0cf4dc87ce
  1. 7
      frontend/controllers/PhoneCenterController.php

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

Loading…
Cancel
Save