From dc03c8a07a2764893336183f1573c36c1c9654a4 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 7 Jan 2020 17:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E9=99=90=E5=88=B6=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/BaseController.class.php | 4 +++- Application/Home/Controller/SafeController.class.php | 3 ++- ThinkPHP/Tpl/dispatch_jump.tpl | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/BaseController.class.php b/Application/Home/Controller/BaseController.class.php index 06b20c006..05a4b2a71 100644 --- a/Application/Home/Controller/BaseController.class.php +++ b/Application/Home/Controller/BaseController.class.php @@ -333,7 +333,9 @@ class BaseController extends HomeController case 'Home/Promote/index': break; case 'Home/Safe/verifyPassword': - break; + break; + case 'Home/Safe/safeDocument'; + break; default: $this->tips($status,U('Safe/modifyBaseInfo')); break; diff --git a/Application/Home/Controller/SafeController.class.php b/Application/Home/Controller/SafeController.class.php index 2277ed78d..27a3793e8 100644 --- a/Application/Home/Controller/SafeController.class.php +++ b/Application/Home/Controller/SafeController.class.php @@ -161,6 +161,7 @@ class SafeController extends BaseController{ $safePwd = M('promote','tab_')->where(['id'=>$id])->field('second_pwd')->find(); if(empty($safePwd['second_pwd'])) { $this->display('Public/setSafePwd'); + exit; } $metaTitle = '基础信息'; $modelList = ['基础信息', $metaTitle]; @@ -169,7 +170,7 @@ class SafeController extends BaseController{ if($ver_status[0] == 1) { //return $this->display('editModify'); $this->redirect('editModify'); - + exit; } if($_POST) { $username = $_REQUEST['username']; //真实姓名 diff --git a/ThinkPHP/Tpl/dispatch_jump.tpl b/ThinkPHP/Tpl/dispatch_jump.tpl index 70c7eb97d..25d4e4ef9 100644 --- a/ThinkPHP/Tpl/dispatch_jump.tpl +++ b/ThinkPHP/Tpl/dispatch_jump.tpl @@ -30,7 +30,7 @@ body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16p