2022年8月23日

有时间, 看看这个问题

摘要: Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.7.2:repackage (repackage) on project common: Execution repackage of goal or 阅读全文

posted @ 2022-08-23 13:08 beyondx 阅读(20) 评论(0) 推荐(0) 编辑

2022年8月22日

记录一个bug

摘要: bug debug debug分析, 思考角度 确保sql 没有问题的情况下, 那就考虑 修改 实体类, 因为往 实体类中 装数据, 通过 反射 创建对象, 通过反射 设置的值 参考链接 https://www.bilibili.com/video/BV1gb4y1D73p?p=236&t=1761 阅读全文

posted @ 2022-08-22 20:05 beyondx 阅读(8) 评论(0) 推荐(0) 编辑

2022年8月21日

订单超时取消_事务

摘要: package com.qfedu.fmmall.service.job; import com.github.wxpay.sdk.WXPay; import com.qfedu.fmmall.dao.OrderItemMapper; import com.qfedu.fmmall.dao.Orde 阅读全文

posted @ 2022-08-21 20:07 beyondx 阅读(7) 评论(0) 推荐(0) 编辑

2022年8月20日

Map_HashMap_实际应用场景

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220820213539569-819314736.png) 阅读全文

posted @ 2022-08-20 21:36 beyondx 阅读(16) 评论(0) 推荐(0) 编辑

2022年8月19日

数据库设计_待优化

摘要: ![](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220819212922842-1237427286.png) ![](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220819213015078-1636941538.png) 阅读全文

posted @ 2022-08-19 21:30 beyondx 阅读(2) 评论(0) 推荐(0) 编辑

tkMapper事务隔离级别_事务的传播机制

摘要: 事务的传播机制 @Transactional(propagation = Propagation.SUPPORTS) 一般来讲, 查询操作 SUPPORTS 带有 增删改操作的, REQUIRED, 表示是 需要事务的 隔离级别, 可以使用 默认的 隔离级别, 可重复读 除非特殊的业务, 设置成其他 阅读全文

posted @ 2022-08-19 21:06 beyondx 阅读(35) 评论(0) 推荐(0) 编辑

2022年8月17日

在已经启动springboot的项目的同时_测试新实现的功能_左下角出现

摘要: ![](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220817214542125-163903120.png) 阅读全文

posted @ 2022-08-17 21:47 beyondx 阅读(24) 评论(0) 推荐(0) 编辑

商品_评价信息_sql记录

摘要: -- 根据id 查询 商品的 评价信息, 关联查询 评价用户的信息 select u.username, u.nickname, u.user_img, c.* from product_comments c inner join users u on u.user_id = c.user_id w 阅读全文

posted @ 2022-08-17 20:30 beyondx 阅读(22) 评论(0) 推荐(0) 编辑

前端请求不到数据_后端写代码直接复制_部分内容没有修改

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220817191341997-72026514.png) ![](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220817191808066-1049890767.png) ![](h 阅读全文

posted @ 2022-08-17 19:14 beyondx 阅读(15) 评论(0) 推荐(0) 编辑

2022年8月13日

项目_首页显示用户信息&头像

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220813220458938-2147248274.png) ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220813220459008-174431021. 阅读全文

posted @ 2022-08-13 22:07 beyondx 阅读(11) 评论(0) 推荐(0) 编辑

前端使用header传token_浏览器的预检机制

摘要: 预检机制, 使得 method = "OPTIONS" 修改代码 if("OPTIONS".equalsIgnoreCase(method)) { return true; } 这里, 放行, 返回 true, 让 这个请求, 继续往前走, 返回去, 但不会 返回 数据 return true, 下 阅读全文

posted @ 2022-08-13 22:04 beyondx 阅读(155) 评论(0) 推荐(0) 编辑

前端传token(params -> header)_那么问题来了_后端也需要修改代码

摘要: token有效期 设置为了 1天 这里 直接刷新 购物车页面 前端修改 传 token方式后, 后端 拿不到 token了 token = null 阅读全文

posted @ 2022-08-13 22:03 beyondx 阅读(70) 评论(0) 推荐(0) 编辑

jwt_拦截器_校验token

摘要: 先上图 要说的话, 都在图里 拦截器 的 优点 校验工作, 只需要 做一次 访问接口, 先经过 拦截器 接口 只 处理业务, 而不用写 校验token的 代码 springboot项目中, 配置拦截器 配置 配置 拦截器 现在 是springboot, 没有 配置文件了 现在需要 基于 Java配置 阅读全文

posted @ 2022-08-13 22:02 beyondx 阅读(144) 评论(0) 推荐(0) 编辑

前端传递token(params -> headers)_规范_规则

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220813220202204-611824566.png) ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220813220202103-438025901.p 阅读全文

posted @ 2022-08-13 22:02 beyondx 阅读(157) 评论(0) 推荐(0) 编辑

jwt_解析token

摘要: 先上图 package com.qfedu.fmmall.controller; import com.qfedu.fmmall.utils.Base64Utils; import com.qfedu.fmmall.vo.ResStatus; import com.qfedu.fmmall.vo.R 阅读全文

posted @ 2022-08-13 22:01 beyondx 阅读(958) 评论(0) 推荐(0) 编辑

在springboot 中配置 拦截器

摘要: 先上图 要说的话, 都在图里 package com.qfedu.fmmall.config; import com.qfedu.fmmall.interceptor.CheckTokenInterceptor; import org.springframework.beans.factory.an 阅读全文

posted @ 2022-08-13 22:01 beyondx 阅读(85) 评论(0) 推荐(0) 编辑

功能实现_用户认证_基于token_实现携带token访问购物车页面

摘要: 1, 登录认证接口 生成 token 2, 登录页面 接收到 token 存储到 cookie 3, 购物车页面 加载时, 访问 购物车列表 接口 4, 在 购物车列表 接口, 校验 token 1, 登录认证接口 生成 token 2, 登录页面 接收到 token 存储到 cookie 3, 购 阅读全文

posted @ 2022-08-13 22:00 beyondx 阅读(85) 评论(0) 推荐(0) 编辑

jwt_生成token

摘要: jwt 1, 添加 依赖, 到 service; 因为这跟 业务相关 2, 生成token 添加依赖 修改UserServiceImpl.java package com.qfedu.fmmall.service.impl; import com.qfedu.fmmall.dao.UsersMapp 阅读全文

posted @ 2022-08-13 22:00 beyondx 阅读(243) 评论(0) 推荐(0) 编辑

前后端分离_用户认证_基于token

摘要: 1, 校验账号 和 密码 2, 验证成欧共, 根据 特定规则 生成 token(令牌) 字符串 3, 将 token字符串 一并响应给 前端 1, 从 请求头 获取 token 2, 验证 token的有效性(正确性, 时效性) 3, token验证通过, 进行 接口响应 cookie, 可以在 同 阅读全文

posted @ 2022-08-13 21:59 beyondx 阅读(65) 评论(0) 推荐(0) 编辑

2022年8月12日

用户注册_前端实现

摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>注册</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vie 阅读全文

posted @ 2022-08-12 23:20 beyondx 阅读(9) 评论(0) 推荐(0) 编辑

Vue_登录验证

摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>登录</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vie 阅读全文

posted @ 2022-08-12 22:01 beyondx 阅读(154) 评论(0) 推荐(0) 编辑

Vue_登录_数据校验

摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>登录</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vie 阅读全文

posted @ 2022-08-12 18:52 beyondx 阅读(76) 评论(0) 推荐(0) 编辑

Hbuilder_内置浏览器_内置终端_是插件/依赖

摘要: ![](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220812161830083-1710075780.png) 阅读全文

posted @ 2022-08-12 16:19 beyondx 阅读(48) 评论(0) 推荐(0) 编辑

Vue_v-bind_显示图片

摘要: Title {{code}} 从vm中获取的数据为 {{str}} {{stu.stuNum}} {{stu.stuName}} {{stu.stuGender}} 男 女 <table border="1" cellspacing="0" width="400"> <tr> <th>序号</th> 阅读全文

posted @ 2022-08-12 15:00 beyondx 阅读(189) 评论(0) 推荐(0) 编辑

Vue_v-bind

摘要: 为你唱这首歌, 没有什么风格 仅仅代表着, 希望你快乐 阅读全文

posted @ 2022-08-12 14:49 beyondx 阅读(13) 评论(0) 推荐(0) 编辑

Vue_v-for

摘要: <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 10:43--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <t 阅读全文

posted @ 2022-08-12 14:47 beyondx 阅读(12) 评论(0) 推荐(0) 编辑

Vue_v-if条件_判断性别

摘要: <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 10:43--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <t 阅读全文

posted @ 2022-08-12 14:46 beyondx 阅读(316) 评论(0) 推荐(0) 编辑

Vue_v-if_条件不成立_标签不显示

摘要: <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 10:43--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <t 阅读全文

posted @ 2022-08-12 14:46 beyondx 阅读(287) 评论(0) 推荐(0) 编辑

Vue_helloworld_plus

摘要: Vue 可以把 VierModle中的数据, 绑定到 页面中去 1, 如何绑定, 学习基本语法 2, 如何获取 后端数据 声明式渲染 <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 11:28-- 阅读全文

posted @ 2022-08-12 14:45 beyondx 阅读(13) 评论(0) 推荐(0) 编辑

Vue_mustch语法_对象数据类型

摘要: mustch语法 <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 10:43--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="U 阅读全文

posted @ 2022-08-12 14:45 beyondx 阅读(6) 评论(0) 推荐(0) 编辑

vue_helloworld

摘要: <!--@description--> <!--@author beyondx--> <!--@date Created in 2022/08/12/ 10:43--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <t 阅读全文

posted @ 2022-08-12 14:44 beyondx 阅读(34) 评论(0) 推荐(0) 编辑

Vue, MVVM, 双向数据绑定

摘要: ![在这里插入图片描述](https://img-blog.csdnimg.cn/0fe81d35ec954341bd1b8753072149d2.jpeg) ![在这里插入图片描述](https://img-blog.csdnimg.cn/918f4aa68d2442e3a6098bcfbb2e0056.jpeg) ![在这里插入图片描述](https://img-blog.csdnimg.cn 阅读全文

posted @ 2022-08-12 14:43 beyondx 阅读(8) 评论(0) 推荐(0) 编辑

单词拼写引起的错误_username_uername

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220812144313043-508998254.png) 阅读全文

posted @ 2022-08-12 14:43 beyondx 阅读(14) 评论(0) 推荐(0) 编辑

数据渲染_

摘要: 数据渲染 需要通过 节点操作 将 获取到 类别信息, 商品信息, 拼接到 当前网页中, html字符串拼接 阅读全文

posted @ 2022-08-12 14:42 beyondx 阅读(22) 评论(0) 推荐(0) 编辑

前端的debug

摘要: ![在这里插入图片描述](https://img2022.cnblogs.com/blog/2191391/202208/2191391-20220812144033171-639040514.png) 阅读全文

posted @ 2022-08-12 14:41 beyondx 阅读(3) 评论(0) 推荐(0) 编辑

java不是单继承吗, 这样写可以吗

摘要: 这是 接口 继承 接口 阅读全文

posted @ 2022-08-12 14:40 beyondx 阅读(10) 评论(0) 推荐(0) 编辑

Do you want them to be removed from the project too?

摘要: 为你唱这首歌, 没有什么风格 它仅仅代表着, 我想给你快乐 阅读全文

posted @ 2022-08-12 14:38 beyondx 阅读(226) 评论(0) 推荐(0) 编辑

navicat中 将表中数据导出到 sql文件

摘要: 我怀念, 别怀念, 怀念也回不到从前 2022年8月11日15:28:51 阅读全文

posted @ 2022-08-12 14:38 beyondx 阅读(94) 评论(0) 推荐(0) 编辑

edge/firefox中应用商店插件,可以直接导入到 chrome使用吗

摘要: 挖坑 edge/firefox中应用商店插件,可以直接导入到 chrome使用吗 阅读全文

posted @ 2022-08-12 14:37 beyondx 阅读(51) 评论(0) 推荐(0) 编辑

2022年8月11日

jsp, thymeleaf, 单体项目中, 会用到, 前后端分离项目用 vue+axios, 就不用前面2种技术了

摘要: jsp, thymeleaf, 单体项目中, 会用到, 前后端分离项目用 vue+axios, 就不用前面2种技术了 阅读全文

posted @ 2022-08-11 07:56 beyondx 阅读(144) 评论(0) 推荐(0) 编辑

导航