解绑手机

master
liuweiwen 5 years ago
parent c64aab6d39
commit 070d9dd9b7

@ -895,8 +895,6 @@ class UserController extends BaseController
} else {
$model = M('User', 'tab_')->where($map)->save(array('phone' => ''));
}
$this->suser->set_login_info('phone', $_REQUEST['phone']);
if ($model !== false) {

@ -21,15 +21,15 @@
<form action="" id="form">
<div class="login-box">
<div class="login-input">
<img src="img/suo.png" alt="">
<img src="__IMG__/suo.png" alt="">
<input type="text" placeholder="请输入原始密码" name="old_pwd" id="old_pwd" value="">
</div>
<div class="login-input">
<img src="img/suo.png" alt="">
<img src="__IMG__/suo.png" alt="">
<input type="password" placeholder="请输入新密码" name="new_pwd" id="new_pwd" value="">
</div>
<div class="login-input">
<img src="img/suo.png" alt="">
<img src="__IMG__/suo.png" alt="">
<input type="password" placeholder="请输入新密码" name="com_pwd" id="com_pwd" value="">
</div>
<div class="login-btn jssubmit">提交</div>

@ -18,7 +18,7 @@
<div class="subpage-heard"><empty name="user.phone">绑定手机<else/>解除绑定</empty>
<a href="javascript:window.history.go(-1);" class="arrows"></a>
</div>
<form action="">
<form action="" id="form">
<div class="login-box">
<?php if(!empty($user['phone'])){ ?>
<div class="login-input">

Loading…
Cancel
Save