摘要:
# 一、@component标注一个类为Spring容器的Bean,(把普通pojo实例化到spring容器中,相当于配置文件中的<bean id="" class=""/>)。将其扫描注入到Spring容器,注入成Bean # 二、@ServerEndpoint(value = "/server/ 阅读全文
摘要:
public class SctongJiService implements ISctongJiService{ /** * 日志记录器 */ private static final Logger log = LoggerFactory.getLogger(SctongJiService.cla 阅读全文
摘要:
import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import or 阅读全文
摘要:
import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.Cor 阅读全文
摘要:
# 应用名称spring.application.name=hello_mybatis#下面这些内容是为了让MyBatis映射#指定Mybatis的Mapper文件mybatis.mapper-locations=classpath:mappers/*xml#指定Mybatis的实体目录mybati 阅读全文
摘要:
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 阅读全文
摘要:
<?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 阅读全文
摘要:
prop 属性绑定了字段名 name,在表单验证时,就会找到其内部的表单组件绑定的变量 ruleForm.name 的值是否符合 rules 中与 name 对应的验证规则 ## 分页思路 ```SELECT * from sys_user limit 0,2; --第一页-- (2 -1) * 2 阅读全文
摘要:
# 解决方案 vue-router.esm.js:2046 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/manage/user".vue-router. 阅读全文
摘要:
## vue安装axios: `npm i axios -S` ## request.js封装 ```import axios from 'axios' const request = axios.create({ baseURL: '/api', timeout: 5000}) // reques 阅读全文