From 0cf4dc87cef7d1e5abe26523d225a3af9c160a4f Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Thu, 14 Nov 2019 15:19:14 +0800 Subject: [PATCH] test1 --- frontend/controllers/PhoneCenterController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index ad879f1..5ca5d58 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/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,