From bb1ce4bf1474ceb302367110ed7d29f201d4f608 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Mon, 18 Nov 2019 21:45:13 +0800 Subject: [PATCH] bug --- .../Home/Controller/SafeController.class.php | 5 +++-- Application/Home/View/default/Safe/editModify.html | 14 +++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 0369dfca5..76f7a91ce 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -323,7 +323,7 @@ class SafeController extends BaseController{ public function editModify() { $id = get_pid(); - $rs = M("promote","tab_")->field('anothpic,ver_status')->where(['id'=>$id])->find(); + $rs = M("promote","tab_")->field('anothpic,ver_status,real_name,bank_card,mobile_phone,email,address,idcard')->where(['id'=>$id])->find(); $anothpic = $rs['anothpic']; if(!empty($anothpic)) { $idcarpicArr = explode(',', $anothpic); @@ -332,8 +332,9 @@ class SafeController extends BaseController{ } } $this->assign('ver_status',$rs['ver_status']); + $this->assign('rs',$rs); $this->assign('promoteInfo',$promoteInfo); - + $this->display(); } diff --git a/Application/Home/View/default/Safe/editModify.html b/Application/Home/View/default/Safe/editModify.html index e712eb568..3d5bf82ef 100644 --- a/Application/Home/View/default/Safe/editModify.html +++ b/Application/Home/View/default/Safe/editModify.html @@ -121,10 +121,10 @@