个人用户管理页面
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>个人用户管理页面接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://10.1.2.14:8090/superUser/perManagePage</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>返回示例</h5>
<pre><code> &lt;!DOCTYPE html\&gt;
&lt;html\&gt;
&lt;head\&gt;
&lt;meta charset\=&quot;utf-8&quot;\&gt;
&lt;meta http-equiv\=&quot;X-UA-Compatible&quot; content\=&quot;IE=edge&quot;\&gt;
&lt;title\&gt;易安卓后台管理登陆&lt;/title\&gt;
&lt;!-- Tell the browser to be responsive to screen width --&gt;
&lt;meta content\=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot; name\=&quot;viewport&quot;\&gt;
&lt;!-- Bootstrap 3.3.6 --&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../bower\_components/bootstrap/dist/css/bootstrap.min.css&quot;\&gt;
&lt;!-- Font Awesome --&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../bower\_components/font-awesome/css/font-awesome.min.css&quot;\&gt;
&lt;!-- Ionicons --&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../bower\_components/Ionicons/css/ionicons.min.css&quot;\&gt;
&lt;!-- Theme style --&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../dist/css/AdminLTE.min.css&quot;\&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../dist/css/skins/skin-blue.min.css&quot;\&gt;
&lt;script src\=&quot;../../../bower\_components/jquery/dist/jquery.min.js&quot;\&gt;&lt;/script\&gt;
&lt;script src\=&quot;../../../bower\_components/bootstrap/dist/js/bootstrap.min.js&quot;\&gt;&lt;/script\&gt;
&lt;script src\=&quot;../../../dist/js/adminlte.min.js&quot;\&gt;&lt;/script\&gt;
&lt;!--\[if lt IE 9\]&gt;
&lt;script src=&quot;https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;https://oss.maxcdn.com/respond/1.4.2/respond.min.js&quot;&gt;&lt;/script&gt;
&lt;!\[endif\]--&gt;
&lt;link rel\=&quot;stylesheet&quot; href\=&quot;../../../css/bootstrapValidator.min.css&quot;\&gt;
&lt;script src\=&quot;../../../js/bootstrapValidator.min.js&quot;\&gt;&lt;/script\&gt;
&lt;script src\=&quot;../../../js/zh\_CN.js&quot;\&gt;&lt;/script\&gt;
&lt;/head\&gt;
&lt;body class\=&quot;hold-transition login-page&quot;\&gt;
&lt;div class\=&quot;login-box&quot;\&gt;
&lt;div class\=&quot;login-logo&quot;\&gt;
&lt;a href\=&quot;#&quot;\&gt;&lt;b\&gt;易&lt;/b\&gt;安卓&lt;/a\&gt;
&lt;/div\&gt;
&lt;div class\=&quot;login-box-body&quot;\&gt;
&lt;div class\=&quot;row&quot;\&gt;
&lt;div class\=&quot;col-md-8&quot;\&gt;
&lt;p class\=&quot;login-box-msg&quot;\&gt;易安卓后台管理登陆&lt;/p\&gt;
&lt;form method\=&quot;post&quot; id\=&quot;login-form&quot; style\=&quot;margin-bottom: 10px&quot;\&gt;
&lt;div class\=&quot;form-group has-feedback&quot;\&gt;
&lt;input type\=&quot;text&quot; class\=&quot;form-control&quot; placeholder\=&quot;管理员账号名&quot; name\=&quot;account&quot;\&gt;
&lt;span class\=&quot;glyphicon glyphicon-user form-control-feedback&quot;\&gt;&lt;/span\&gt;
&lt;/div\&gt;
&lt;div class\=&quot;form-group has-feedback&quot;\&gt;
&lt;input type\=&quot;password&quot; class\=&quot;form-control&quot; placeholder\=&quot;密码&quot; name\=&quot;password&quot;\&gt;
&lt;span class\=&quot;glyphicon glyphicon-lock form-control-feedback&quot;\&gt;&lt;/span\&gt;
&lt;/div\&gt;
&lt;div class\=&quot;row&quot;\&gt;
&lt;div class\=&quot;col-xs-12&quot;\&gt;
&lt;button type\=&quot;submit&quot; class\=&quot;btn btn-primary btn-block btn-flat&quot; id\=&quot;sub&quot;\&gt;登陆&lt;/button\&gt;
&lt;/div\&gt;
&lt;/div\&gt;
&lt;/form\&gt;
&lt;a href\=&quot;/schoolLogin&quot; class\=&quot;text-center&quot;\&gt;学校用户登陆&lt;/a\&gt;
&lt;/div\&gt;
&lt;div class\=&quot;col-md-4 text-center&quot;\&gt;
&lt;div class\=&quot;col-md-10 col-md-offset-1&quot; style\=&quot;margin-top: 40px&quot;\&gt;
&lt;img src\=&quot;../../../upload/default/images/app-QR-code.png&quot; class\=&quot;img-responsive center-block&quot; style\=&quot;margin-bottom: 10px&quot;\&gt;
&lt;a\&gt;扫码下载APP&lt;/a\&gt;
&lt;/div\&gt;
&lt;/div\&gt;
&lt;/div\&gt;
&lt;/div\&gt;
&lt;script\&gt;
$(function () {
$('#login-form').bootstrapValidator({
message: 'This value is not valid',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
account: {
message: '用户名验证失败',
validators: {
notEmpty: {
message: '用户名不能为空'
},
stringLength: {
min: 5,
max: 20,
message: '用户名长度必须在6到20个字符之间'
}
}
},
password: {
validators: {
notEmpty: {
message: '密码不能为空'
}, stringLength: {
min: 6,
max: 20,
message: '密码长度必须在6到20字符之间'
}
}
}
}
});
$('#sub').on(&quot;click&quot;, function () {
var bootstrapValidator \= $('#login-form').data('bootstrapValidator');
bootstrapValidator.validate();
if (bootstrapValidator.isValid()) {
$.ajax({
type: 'POST',
url: '/adminUserLogin',
data: $('#login-form').serialize(),
success: function (data) {
if (data.res)
window.location.href \= window.location.protocol + '/superMain';
else
alert(data.message);
}
});
}
});
document.onkeydown \= function (e) {
var keyNum \= window.event ? e.keyCode : e.which;
if (keyNum \== 13) {
var bootstrapValidator \= $('#login-form').data('bootstrapValidator');
bootstrapValidator.validate();
if (bootstrapValidator.isValid()) {
$.ajax({
type: 'POST',
url: '/adminUserLogin',
data: $('#login-form').serialize(),
success: function (data) {
if (data.res)
window.location.href \= window.location.protocol + '/superMain';
else
alert(data.message);
}
});
}
}
}
});
&lt;/script\&gt;
&lt;/div\&gt;
&lt;/body\&gt;
&lt;/html\&gt;</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>