|
|
@ -161,6 +161,7 @@ class SafeController extends BaseController{
|
|
|
|
$safePwd = M('promote','tab_')->where(['id'=>$id])->field('second_pwd')->find();
|
|
|
|
$safePwd = M('promote','tab_')->where(['id'=>$id])->field('second_pwd')->find();
|
|
|
|
if(empty($safePwd['second_pwd'])) {
|
|
|
|
if(empty($safePwd['second_pwd'])) {
|
|
|
|
$this->display('Public/setSafePwd');
|
|
|
|
$this->display('Public/setSafePwd');
|
|
|
|
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$metaTitle = '基础信息';
|
|
|
|
$metaTitle = '基础信息';
|
|
|
|
$modelList = ['基础信息', $metaTitle];
|
|
|
|
$modelList = ['基础信息', $metaTitle];
|
|
|
@ -169,7 +170,7 @@ class SafeController extends BaseController{
|
|
|
|
if($ver_status[0] == 1) {
|
|
|
|
if($ver_status[0] == 1) {
|
|
|
|
//return $this->display('editModify');
|
|
|
|
//return $this->display('editModify');
|
|
|
|
$this->redirect('editModify');
|
|
|
|
$this->redirect('editModify');
|
|
|
|
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($_POST) {
|
|
|
|
if($_POST) {
|
|
|
|
$username = $_REQUEST['username']; //真实姓名
|
|
|
|
$username = $_REQUEST['username']; //真实姓名
|
|
|
|