From 60d1a4ced8b25385c367a7ad1f8c3663a9a1c613 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 19 Nov 2019 12:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/SafeController.class.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 5ba29ead8..1be8fe404 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -321,6 +321,24 @@ class SafeController extends BaseController{ $this->assign('addr','未填写地址'); } $promoteInfo['address'] = json_decode($address); + if(empty($promoteInfo['bank_card'])) { + $promoteInfo['bank_card'] = " "; + } + if(empty($promoteInfo['email'])) { + $promoteInfo['email'] = " "; + } + if(empty($promoteInfo['real_name'])) { + $promoteInfo['real_name'] = " "; + } + if(empty($promoteInfo['mobile_phone'])) { + $promoteInfo['mobile_phone'] = " "; + } + if(empty($promoteInfo['bank_name'])) { + $promoteInfo['bank_name'] = " "; + } + if(empty($promoteInfo['idcard'])) { + $promoteInfo['idcard'] = " "; + } $this->assign("ver_status",$promoteInfo['ver_status']); $this->assign('promoteinfo', $promoteInfo);