From 06459be5852cff9408a3c2ba56690d9c2691d984 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Wed, 6 Nov 2019 15:16:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=90=E5=8F=B7=E7=A0=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AFBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneCenterController.php | 3 +-- frontend/views/phone-center/sub-index.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index f7c0224..4d7b850 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/frontend/controllers/PhoneCenterController.php @@ -256,8 +256,7 @@ public function actionDownload(){ $id = $request->get('phone_id',0); $assign_info = NetworkPhoneAssignT::findOne($id); -var_dump($assign_info); -exit; + return $this->render('sub-index',[ 'assign_info' => $assign_info ]); diff --git a/frontend/views/phone-center/sub-index.php b/frontend/views/phone-center/sub-index.php index 8d5f51a..dd495cf 100644 --- a/frontend/views/phone-center/sub-index.php +++ b/frontend/views/phone-center/sub-index.php @@ -59,10 +59,10 @@ use \common\libs\MyLib; } function create() { title = '新增小号'; - layer_show(title, '/phone-center/sub-edit?assign_id='); + layer_show(title, '/phone-center/sub-edit?assign_id=id?>'); } function link(id) { - $.get('/phone/ax-init',{id:id,assign_id:},function(obj){ + $.get('/phone/ax-init',{id:id,assign_id:id?>},function(obj){ parent.layer.msg(obj.msg); },'json');