docs: 错别字修改

This commit is contained in:
xiongxiaoyang
2025-07-12 18:05:06 +08:00
parent 675b156094
commit 972a49f1ba
11 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>后台管理-</title> <title>后台管理-</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Access-Control-Allow-Origin" content="*"> <meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

View File

@ -18,7 +18,7 @@ public enum ResponseStatus implements IResultCode {
/** /**
* 用户相关错误 * 用户相关错误
* */ * */
NO_LOGIN(1001, "未登录或登失效!"), NO_LOGIN(1001, "未登录或登失效!"),
VEL_CODE_ERROR(1002, "验证码错误!"), VEL_CODE_ERROR(1002, "验证码错误!"),
USERNAME_EXIST(1003,"该手机号已注册!"), USERNAME_EXIST(1003,"该手机号已注册!"),
USERNAME_PASS_ERROR(1004,"手机号或密码错误!"), USERNAME_PASS_ERROR(1004,"手机号或密码错误!"),

View File

@ -50,7 +50,7 @@ public class PayController extends BaseController {
UserDetails userDetails = getUserDetails(request); UserDetails userDetails = getUserDetails(request);
if (userDetails == null) { if (userDetails == null) {
//未登录,跳转到登页面 //未登录,跳转到登页面
httpResponse.sendRedirect("/user/login.html?originUrl=/pay/index.html"); httpResponse.sendRedirect("/user/login.html?originUrl=/pay/index.html");
} else { } else {
//创建充值订单 //创建充值订单

View File

@ -40,12 +40,12 @@ public class UserController extends BaseController {
private final BookService bookService; private final BookService bookService;
/** /**
* 登 * 登
*/ */
@PostMapping("login") @PostMapping("login")
public RestResult<Map<String, Object>> login(User user) { public RestResult<Map<String, Object>> login(User user) {
//登 //登
UserDetails userDetails = userService.login(user); UserDetails userDetails = userService.login(user);
Map<String, Object> data = new HashMap<>(1); Map<String, Object> data = new HashMap<>(1);

View File

@ -26,8 +26,8 @@ public interface UserService {
UserDetails register(User user); UserDetails register(User user);
/** /**
* 用户登 * 用户登
* @param user 用户登信息类 * @param user 用户登信息类
* @return jwt载体信息类 * @return jwt载体信息类
* */ * */
UserDetails login(User user); UserDetails login(User user);

View File

@ -91,7 +91,7 @@
}, },
SaveComment: function (cmtBId, cmtCId, cmtDetail) { SaveComment: function (cmtBId, cmtCId, cmtDetail) {
if (!isLogin) { if (!isLogin) {
layer.alert('请先登'); layer.alert('请先登');
return; return;
} }
var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, ""); var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, "");
@ -137,7 +137,7 @@
SaveCommentReply: function (cmtBId, cmtCId, cmtDetail) { SaveCommentReply: function (cmtBId, cmtCId, cmtDetail) {
if (!isLogin) { if (!isLogin) {
layer.alert('请先登'); layer.alert('请先登');
return; return;
} }
var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, ""); var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, "");

View File

@ -17,7 +17,7 @@
<div class="userBox cf"> <div class="userBox cf">
<div class="user_l"> <div class="user_l">
<form method="post" action="./login.html" id="form1"> <form method="post" action="./login.html" id="form1">
<h3 th:text="''+${application.website.name}"></h3> <h3 th:text="''+${application.website.name}"></h3>
<ul class="log_list"> <ul class="log_list">
<li><span id="LabErr"></span></li> <li><span id="LabErr"></span></li>
<li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li> <li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li>

View File

@ -17,7 +17,7 @@
<div class="userBox cf"> <div class="userBox cf">
<div class="user_l"> <div class="user_l">
<form method="post" action="./login.html" id="form1"> <form method="post" action="./login.html" id="form1">
<h3 th:text="''+${application.website.name}"></h3> <h3 th:text="''+${application.website.name}"></h3>
<ul class="log_list"> <ul class="log_list">
<li><span id="LabErr"></span></li> <li><span id="LabErr"></span></li>
<li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li> <li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li>

View File

@ -91,7 +91,7 @@
}, },
SaveComment: function (cmtBId, cmtCId, cmtDetail) { SaveComment: function (cmtBId, cmtCId, cmtDetail) {
if (!isLogin) { if (!isLogin) {
layer.alert('请先登'); layer.alert('请先登');
return; return;
} }
var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, ""); var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, "");

View File

@ -17,7 +17,7 @@
<div class="userBox cf"> <div class="userBox cf">
<div class="user_l"> <div class="user_l">
<form method="post" action="./login.html" id="form1"> <form method="post" action="./login.html" id="form1">
<h3 th:text="''+${application.website.name}"></h3> <h3 th:text="''+${application.website.name}"></h3>
<ul class="log_list"> <ul class="log_list">
<li><span id="LabErr"></span></li> <li><span id="LabErr"></span></li>
<li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li> <li><input name="txtUName" type="text" id="txtUName" placeholder="手机号码" class="s_input icon_name" /></li>

View File

@ -92,7 +92,7 @@
}, },
SaveComment: function (cmtBId, cmtCId, cmtDetail) { SaveComment: function (cmtBId, cmtCId, cmtDetail) {
if(!isLogin){ if(!isLogin){
layer.alert('请先登'); layer.alert('请先登');
return; return;
} }
var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, ""); var cmtDetailTemp = cmtDetail.replace(/(^\s*)/g, "");