mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-04-27 01:40:50 +00:00
626 lines
35 KiB
HTML
626 lines
35 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="zh">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_181) on Sat May 30 11:03:36 CST 2020 -->
|
|
<title>UserController</title>
|
|
<meta name="date" content="2020-05-30">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="UserController";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
|
|
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>您的浏览器已禁用 JavaScript。</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/UserController.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>上一个类</li>
|
|
<li>下一个类</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/java2nb/novel/user/controller/UserController.html" target="_top">框架</a></li>
|
|
<li><a href="UserController.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li><a href="#fields.inherited.from.class.com.java2nb.novel.common.base.BaseController">字段</a> | </li>
|
|
<li><a href="#constructor.summary">构造器</a> | </li>
|
|
<li><a href="#method.summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor.detail">构造器</a> | </li>
|
|
<li><a href="#method.detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.java2nb.novel.user.controller</div>
|
|
<h2 title="类 UserController" class="title">类 UserController</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../../com/java2nb/novel/common/base/BaseController.html" title="com.java2nb.novel.common.base中的类">com.java2nb.novel.common.base.BaseController</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.java2nb.novel.user.controller.UserController</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>@RestController
|
|
@RequestMapping(value="user")
|
|
public class <span class="typeNameLabel">UserController</span>
|
|
extends <a href="../../../../../com/java2nb/novel/common/base/BaseController.html" title="com.java2nb.novel.common.base中的类">BaseController</a></pre>
|
|
<div class="block">用户微服务Controller</div>
|
|
<dl>
|
|
<dt><span class="simpleTagLabel">从以下版本开始:</span></dt>
|
|
<dd>2020/5/27</dd>
|
|
<dt><span class="simpleTagLabel">版本:</span></dt>
|
|
<dd>1.0</dd>
|
|
<dt><span class="simpleTagLabel">作者:</span></dt>
|
|
<dd>xiongxiaoyang</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>字段概要</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields.inherited.from.class.com.java2nb.novel.common.base.BaseController">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从类继承的字段 com.java2nb.novel.common.base.<a href="../../../../../com/java2nb/novel/common/base/BaseController.html" title="com.java2nb.novel.common.base中的类">BaseController</a></h3>
|
|
<code><a href="../../../../../com/java2nb/novel/common/base/BaseController.html#jwtTokenUtil">jwtTokenUtil</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器概要</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
|
|
<caption><span>构造器</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">构造器和说明</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#UserController--">UserController</a></span>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法概要</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
|
|
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">限定符和类型</th>
|
|
<th class="colLast" scope="col">方法和说明</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#addBookComment-com.java2nb.novel.book.entity.BookComment-javax.servlet.http.HttpServletRequest-">addBookComment</a></span>(<a href="../../../../../com/java2nb/novel/book/entity/BookComment.html" title="com.java2nb.novel.book.entity中的类">BookComment</a> comment,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">发布评价</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#addFeedBack-java.lang.String-javax.servlet.http.HttpServletRequest-">addFeedBack</a></span>(java.lang.String content,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">添加反馈</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#addReadHistory-java.lang.Long-java.lang.Long-javax.servlet.http.HttpServletRequest-">addReadHistory</a></span>(java.lang.Long bookId,
|
|
java.lang.Long preContentId,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">添加阅读记录</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#addToBookShelf-java.lang.Long-java.lang.Long-javax.servlet.http.HttpServletRequest-">addToBookShelf</a></span>(java.lang.Long bookId,
|
|
java.lang.Long preContentId,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">加入书架</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/vo/BookShelfVO.html" title="com.java2nb.novel.user.vo中的类">BookShelfVO</a>>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#listBookShelfByPage-int-int-javax.servlet.http.HttpServletRequest-">listBookShelfByPage</a></span>(int page,
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">分页查询书架</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/book/entity/BookComment.html" title="com.java2nb.novel.book.entity中的类">BookComment</a>>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#listCommentByPage-int-int-javax.servlet.http.HttpServletRequest-">listCommentByPage</a></span>(int page,
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">用户书评分页查询</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/vo/BookReadHistoryVO.html" title="com.java2nb.novel.user.vo中的类">BookReadHistoryVO</a>>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#listReadHistoryByPage-int-int-javax.servlet.http.HttpServletRequest-">listReadHistoryByPage</a></span>(int page,
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">分页查询阅读记录</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/entity/UserFeedback.html" title="com.java2nb.novel.user.entity中的类">UserFeedback</a>>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#listUserFeedBackByPage-int-int-javax.servlet.http.HttpServletRequest-">listUserFeedBackByPage</a></span>(int page,
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">分页查询我的反馈列表</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#login-com.java2nb.novel.user.form.UserForm-org.springframework.validation.BindingResult-">login</a></span>(@Valid <a href="../../../../../com/java2nb/novel/user/form/UserForm.html" title="com.java2nb.novel.user.form中的类">UserForm</a> user,
|
|
org.springframework.validation.BindingResult result)</code>
|
|
<div class="block">登陆</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#queryIsInShelf-java.lang.Long-javax.servlet.http.HttpServletRequest-">queryIsInShelf</a></span>(java.lang.Long bookId,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">查询小说是否已加入书架</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#refreshToken-javax.servlet.http.HttpServletRequest-">refreshToken</a></span>(javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">刷新token</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#register-com.java2nb.novel.user.form.UserForm-java.lang.String-org.springframework.validation.BindingResult-">register</a></span>(@Valid <a href="../../../../../com/java2nb/novel/user/form/UserForm.html" title="com.java2nb.novel.user.form中的类">UserForm</a> user,
|
|
java.lang.String velCode,
|
|
org.springframework.validation.BindingResult result)</code>
|
|
<div class="block">注册</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#removeFromBookShelf-java.lang.Long-javax.servlet.http.HttpServletRequest-">removeFromBookShelf</a></span>(java.lang.Long bookId,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">移出书架</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#updatePassword-java.lang.String-java.lang.String-java.lang.String-javax.servlet.http.HttpServletRequest-">updatePassword</a></span>(java.lang.String oldPassword,
|
|
java.lang.String newPassword1,
|
|
java.lang.String newPassword2,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">更新密码</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#updateUserInfo-com.java2nb.novel.user.entity.User-javax.servlet.http.HttpServletRequest-">updateUserInfo</a></span>(<a href="../../../../../com/java2nb/novel/user/entity/User.html" title="com.java2nb.novel.user.entity中的类">User</a> user,
|
|
javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">更新个人信息</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/user/entity/User.html" title="com.java2nb.novel.user.entity中的类">User</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/java2nb/novel/user/controller/UserController.html#userInfo-javax.servlet.http.HttpServletRequest-">userInfo</a></span>(javax.servlet.http.HttpServletRequest request)</code>
|
|
<div class="block">查询个人信息</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.java2nb.novel.common.base.BaseController">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从类继承的方法 com.java2nb.novel.common.base.<a href="../../../../../com/java2nb/novel/common/base/BaseController.html" title="com.java2nb.novel.common.base中的类">BaseController</a></h3>
|
|
<code><a href="../../../../../com/java2nb/novel/common/base/BaseController.html#getToken-javax.servlet.http.HttpServletRequest-">getToken</a>, <a href="../../../../../com/java2nb/novel/common/base/BaseController.html#getUserDetails-javax.servlet.http.HttpServletRequest-">getUserDetails</a>, <a href="../../../../../com/java2nb/novel/common/base/BaseController.html#setJwtTokenUtil-com.java2nb.novel.common.utils.JwtTokenUtil-">setJwtTokenUtil</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>从类继承的方法 java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>构造器详细资料</h3>
|
|
<a name="UserController--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>UserController</h4>
|
|
<pre>public UserController()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>方法详细资料</h3>
|
|
<a name="login-com.java2nb.novel.user.form.UserForm-org.springframework.validation.BindingResult-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>login</h4>
|
|
<pre>@GetMapping(value="login")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>> login(@Valid
|
|
@Valid <a href="../../../../../com/java2nb/novel/user/form/UserForm.html" title="com.java2nb.novel.user.form中的类">UserForm</a> user,
|
|
org.springframework.validation.BindingResult result)</pre>
|
|
<div class="block">登陆</div>
|
|
</li>
|
|
</ul>
|
|
<a name="register-com.java2nb.novel.user.form.UserForm-java.lang.String-org.springframework.validation.BindingResult-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>register</h4>
|
|
<pre>@PostMapping(value="register")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>> register(@Valid
|
|
@Valid <a href="../../../../../com/java2nb/novel/user/form/UserForm.html" title="com.java2nb.novel.user.form中的类">UserForm</a> user,
|
|
@RequestParam(value="velCode",defaultValue="")
|
|
java.lang.String velCode,
|
|
org.springframework.validation.BindingResult result)</pre>
|
|
<div class="block">注册</div>
|
|
</li>
|
|
</ul>
|
|
<a name="refreshToken-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>refreshToken</h4>
|
|
<pre>@PostMapping(value="refreshToken")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><java.util.Map<java.lang.String,java.lang.Object>> refreshToken(javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">刷新token</div>
|
|
</li>
|
|
</ul>
|
|
<a name="queryIsInShelf-java.lang.Long-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>queryIsInShelf</h4>
|
|
<pre>@GetMapping(value="queryIsInShelf")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> queryIsInShelf(java.lang.Long bookId,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">查询小说是否已加入书架</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addToBookShelf-java.lang.Long-java.lang.Long-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addToBookShelf</h4>
|
|
<pre>@PostMapping(value="addToBookShelf")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> addToBookShelf(java.lang.Long bookId,
|
|
java.lang.Long preContentId,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">加入书架</div>
|
|
</li>
|
|
</ul>
|
|
<a name="removeFromBookShelf-java.lang.Long-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>removeFromBookShelf</h4>
|
|
<pre>@DeleteMapping(value="removeFromBookShelf")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> removeFromBookShelf(java.lang.Long bookId,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">移出书架</div>
|
|
</li>
|
|
</ul>
|
|
<a name="listBookShelfByPage-int-int-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listBookShelfByPage</h4>
|
|
<pre>@GetMapping(value="listBookShelfByPage")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/vo/BookShelfVO.html" title="com.java2nb.novel.user.vo中的类">BookShelfVO</a>>> listBookShelfByPage(@RequestParam(value="curr",defaultValue="1")
|
|
int page,
|
|
@RequestParam(value="limit",defaultValue="10")
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">分页查询书架</div>
|
|
</li>
|
|
</ul>
|
|
<a name="listReadHistoryByPage-int-int-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listReadHistoryByPage</h4>
|
|
<pre>@GetMapping(value="listReadHistoryByPage")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/vo/BookReadHistoryVO.html" title="com.java2nb.novel.user.vo中的类">BookReadHistoryVO</a>>> listReadHistoryByPage(@RequestParam(value="curr",defaultValue="1")
|
|
int page,
|
|
@RequestParam(value="limit",defaultValue="10")
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">分页查询阅读记录</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addReadHistory-java.lang.Long-java.lang.Long-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addReadHistory</h4>
|
|
<pre>@PostMapping(value="addReadHistory")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> addReadHistory(java.lang.Long bookId,
|
|
java.lang.Long preContentId,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">添加阅读记录</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addFeedBack-java.lang.String-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addFeedBack</h4>
|
|
<pre>@PostMapping(value="addFeedBack")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> addFeedBack(java.lang.String content,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">添加反馈</div>
|
|
</li>
|
|
</ul>
|
|
<a name="listUserFeedBackByPage-int-int-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>listUserFeedBackByPage</h4>
|
|
<pre>@GetMapping(value="listUserFeedBackByPage")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/user/entity/UserFeedback.html" title="com.java2nb.novel.user.entity中的类">UserFeedback</a>>> listUserFeedBackByPage(@RequestParam(value="curr",defaultValue="1")
|
|
int page,
|
|
@RequestParam(value="limit",defaultValue="5")
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">分页查询我的反馈列表</div>
|
|
</li>
|
|
</ul>
|
|
<a name="userInfo-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>userInfo</h4>
|
|
<pre>@GetMapping(value="userInfo")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/user/entity/User.html" title="com.java2nb.novel.user.entity中的类">User</a>> userInfo(javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">查询个人信息</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updateUserInfo-com.java2nb.novel.user.entity.User-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateUserInfo</h4>
|
|
<pre>@PostMapping(value="updateUserInfo")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> updateUserInfo(<a href="../../../../../com/java2nb/novel/user/entity/User.html" title="com.java2nb.novel.user.entity中的类">User</a> user,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">更新个人信息</div>
|
|
</li>
|
|
</ul>
|
|
<a name="updatePassword-java.lang.String-java.lang.String-java.lang.String-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updatePassword</h4>
|
|
<pre>@PostMapping(value="updatePassword")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> updatePassword(java.lang.String oldPassword,
|
|
java.lang.String newPassword1,
|
|
java.lang.String newPassword2,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">更新密码</div>
|
|
</li>
|
|
</ul>
|
|
<a name="addBookComment-com.java2nb.novel.book.entity.BookComment-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addBookComment</h4>
|
|
<pre>@PostMapping(value="addBookComment")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a> addBookComment(<a href="../../../../../com/java2nb/novel/book/entity/BookComment.html" title="com.java2nb.novel.book.entity中的类">BookComment</a> comment,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">发布评价</div>
|
|
</li>
|
|
</ul>
|
|
<a name="listCommentByPage-int-int-javax.servlet.http.HttpServletRequest-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>listCommentByPage</h4>
|
|
<pre>@GetMapping(value="listCommentByPage")
|
|
public <a href="../../../../../com/java2nb/novel/common/bean/ResultBean.html" title="com.java2nb.novel.common.bean中的类">ResultBean</a><<a href="../../../../../com/java2nb/novel/common/bean/PageBean.html" title="com.java2nb.novel.common.bean中的类">PageBean</a><<a href="../../../../../com/java2nb/novel/book/entity/BookComment.html" title="com.java2nb.novel.book.entity中的类">BookComment</a>>> listCommentByPage(@RequestParam(value="curr",defaultValue="1")
|
|
int page,
|
|
@RequestParam(value="limit",defaultValue="5")
|
|
int pageSize,
|
|
javax.servlet.http.HttpServletRequest request)</pre>
|
|
<div class="block">用户书评分页查询</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="导航">
|
|
<li><a href="../../../../../overview-summary.html">概览</a></li>
|
|
<li><a href="package-summary.html">程序包</a></li>
|
|
<li class="navBarCell1Rev">类</li>
|
|
<li><a href="class-use/UserController.html">使用</a></li>
|
|
<li><a href="package-tree.html">树</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">索引</a></li>
|
|
<li><a href="../../../../../help-doc.html">帮助</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>上一个类</li>
|
|
<li>下一个类</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/java2nb/novel/user/controller/UserController.html" target="_top">框架</a></li>
|
|
<li><a href="UserController.html" target="_top">无框架</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>概要: </li>
|
|
<li>嵌套 | </li>
|
|
<li><a href="#fields.inherited.from.class.com.java2nb.novel.common.base.BaseController">字段</a> | </li>
|
|
<li><a href="#constructor.summary">构造器</a> | </li>
|
|
<li><a href="#method.summary">方法</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>详细资料: </li>
|
|
<li>字段 | </li>
|
|
<li><a href="#constructor.detail">构造器</a> | </li>
|
|
<li><a href="#method.detail">方法</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|