request->post()) { $post = input('post.'); $post['admin_id'] = $this->admin_id; $result = $this->validate($post, 'app\admin\validate\Password'); if ($result === true) { MyLogic::updatePassword($post['password'], $this->admin_id); $this->_success('修改密码成功'); } $this->_error($result); } return $this->fetch(); } }