上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: package com.example.demo.gs; import org.springframework.context.annotation.Configuration; import javax.servlet.*; import javax.servlet.annotation.WebF 阅读全文
posted @ 2022-10-29 12:58 しゅおく 阅读(28) 评论(0) 推荐(0)
摘要: 项目类分为: dao层 server层 controller层 Mapper → Server→ controller mapper层(必须要用interface创建) 创建后,首先要在方法前加@Mapper 标明为Mapper类 告知Springboot,之后Springboot就能识别此类; 其 阅读全文
posted @ 2022-10-28 17:06 しゅおく 阅读(113) 评论(0) 推荐(0)
摘要: 箭头函数的形式: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport 阅读全文
posted @ 2022-10-28 13:10 しゅおく 阅读(28) 评论(0) 推荐(0)
摘要: 默认参数: <script> function selet(num, max) { console.log(num + max); } selet(1, 5); </script> 动态参数: <script> function active() { for (let i = 0; i < argu 阅读全文
posted @ 2022-10-28 12:46 しゅおく 阅读(39) 评论(0) 推荐(0)
摘要: Vue import axios from "axios"; Axios 发送GET请求 axios({ // 请求方式 method: "GET", // 请求地址 url: "http://www.liulongbin.top:3006/api/getbooks", // URL中的查询参数 p 阅读全文
posted @ 2022-10-27 23:32 しゅおく 阅读(30) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2022-10-27 18:03 しゅおく 阅读(14) 评论(0) 推荐(0)
摘要: 1.jQuery框架的ajax的简介 jquery是一个优秀的js框架,对js原生的ajax进行了封装。 与ajax操作相关的jquery方法有如下几种,但开发中经常使用的有三种:POST、GET、AJAX 2.GET请求方式 通过远程HTTP GET请求载入信息。Get请求方式语法$.get(ur 阅读全文
posted @ 2022-10-27 17:47 しゅおく 阅读(110) 评论(0) 推荐(0)
摘要: Mybatis 环境 JDBC java基础 JDK 1.8 Mysql5.7 maven 3.6.1 开发工具 idea Junit SSM框架:配置文件的最好方式:看官网文档 1 简介 1.1 什么是Mybatis? MyBatis是一款优秀的持久层框架 支持定制SQL、存储过程以及高级映射 M 阅读全文
posted @ 2022-10-27 16:24 しゅおく 阅读(30) 评论(0) 推荐(0)
摘要: < project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ 阅读全文
posted @ 2022-10-17 14:37 しゅおく 阅读(43) 评论(0) 推荐(0)
摘要: 一、概述在本文中,我们将研究如何禁用和自定义 Spring Boot 应用程序的默认错误页面,因为正确的错误处理描述了专业性和质量工作。 2.禁用白标错误页面 首先,让我们看看如何通过将server.error.whitelabel.enabled属性设置为false 来完全禁用白标错误页面: se 阅读全文
posted @ 2022-10-16 17:28 しゅおく 阅读(855) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页