摘要: # 一、@component标注一个类为Spring容器的Bean,(把普通pojo实例化到spring容器中,相当于配置文件中的<bean id="" class=""/>)。将其扫描注入到Spring容器,注入成Bean # 二、@ServerEndpoint(value = "/server/ 阅读全文
posted @ 2024-03-10 21:35 XiangdxDu 阅读(118) 评论(0) 推荐(0) 编辑
摘要: public class SctongJiService implements ISctongJiService{ /** * 日志记录器 */ private static final Logger log = LoggerFactory.getLogger(SctongJiService.cla 阅读全文
posted @ 2024-03-08 12:49 XiangdxDu 阅读(6) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import or 阅读全文
posted @ 2024-03-08 11:18 XiangdxDu 阅读(15) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.Cor 阅读全文
posted @ 2024-03-08 11:09 XiangdxDu 阅读(101) 评论(0) 推荐(0) 编辑
摘要: # 应用名称spring.application.name=hello_mybatis#下面这些内容是为了让MyBatis映射#指定Mybatis的Mapper文件mybatis.mapper-locations=classpath:mappers/*xml#指定Mybatis的实体目录mybati 阅读全文
posted @ 2024-02-24 10:07 XiangdxDu 阅读(18) 评论(0) 推荐(0) 编辑
摘要: This application has no explicit mapping for /error, so you are seeing this as a fallback.Sun Nov 05 21:36:57 CST 2023There was an unexpected error (t 阅读全文
posted @ 2024-02-24 10:06 XiangdxDu 阅读(214) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" ><ma 阅读全文
posted @ 2024-02-24 10:04 XiangdxDu 阅读(35) 评论(0) 推荐(0) 编辑
摘要: prop 属性绑定了字段名 name,在表单验证时,就会找到其内部的表单组件绑定的变量 ruleForm.name 的值是否符合 rules 中与 name 对应的验证规则 ## 分页思路 ```SELECT * from sys_user limit 0,2; --第一页-- (2 -1) * 2 阅读全文
posted @ 2024-02-24 10:03 XiangdxDu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: # 解决方案 vue-router.esm.js:2046 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/manage/user".vue-router. 阅读全文
posted @ 2024-02-24 09:58 XiangdxDu 阅读(345) 评论(0) 推荐(0) 编辑
摘要: ## vue安装axios: `npm i axios -S` ## request.js封装 ```import axios from 'axios' const request = axios.create({ baseURL: '/api', timeout: 5000}) // reques 阅读全文
posted @ 2024-02-24 09:56 XiangdxDu 阅读(7) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示