摘要: 为啥我的mysql根目录没有my.ini? 正确的是: 阅读全文
posted @ 2024-10-24 10:15 红茶老买到差的 阅读(7) 评论(0) 推荐(0)
摘要: @RequestMapping("hello") public voiid test001(@RequestParam(defaultValue = "11") int age, @RequestParam(defaultValue = "0.1") double money){ System.ou 阅读全文
posted @ 2023-04-11 21:41 红茶老买到差的 阅读(166) 评论(0) 推荐(0)
摘要: 依赖 <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi: 阅读全文
posted @ 2023-04-10 22:52 红茶老买到差的 阅读(25) 评论(0) 推荐(0)
摘要: springboot的启动类必须和controller在同一层级 阅读全文
posted @ 2023-04-05 10:25 红茶老买到差的 阅读(98) 评论(0) 推荐(0)
摘要: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> <relativePat 阅读全文
posted @ 2023-04-02 15:38 红茶老买到差的 阅读(17) 评论(0) 推荐(0)
摘要: @Configuration 标记到一个类上,说明这个类是一个配置类,相当于一个spring配置文件 @ComponentScan 扫描包注解 作用:自动扫描 指定的 包 下的 标注有 @Repository @Service @Controller @Configuration //声明当前类是配 阅读全文
posted @ 2023-03-31 20:37 红茶老买到差的 阅读(22) 评论(0) 推荐(0)
摘要: 内容:使用iis设置网站php版本为7.3这张图 是多少人的噩梦 早期的宝塔版本 没办法在线升级, php版本只能到7.1 默认就没有7.2以上版本 怎么办?可以在iis设置第一步: 第二步: 第三步:如果没有点击添加脚本映射第四步:第五步:第六步,不用动手打开网站根目录下的 web.config 阅读全文
posted @ 2023-02-09 09:43 红茶老买到差的 阅读(257) 评论(0) 推荐(0)