摘要:
error: 当我循环下载图片的时候,执行一次就退出来了,然后捕获异常,发现报 java.sql.SQLException: Operation not allowed after ResultSet closed 然后于是Google一下 错... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(69)
评论(0)
推荐(0)
摘要:
一、下载需要的依赖环境 下载地址:>>>🐖🐖🐖🐖🐖点我下载🐖🐖🐖🐖🐖 二、回到需要连接的项目中 1. 2. 3. 4.完成以上操作后即可通过代码连接数据库了 连接代码如下 using System;using Syst... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(138)
评论(0)
推荐(0)
摘要:
Java截取HTML标签元素获取自己想要的数据 1.如同 2.截取写法 input#hidden_title 3.service层编码(代码片段) //链接地址 private String url = "http://www... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(904)
评论(0)
推荐(0)
摘要:
一、准备数据 API:http://www.weather.com.cn/data/sk/城市ID.html 例如,指定获取广州城市的天气 API : http://www.weather.com.cn/data/sk/101280101.html ... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(371)
评论(0)
推荐(0)
摘要:
表连接的分类 隐式内连接:不出现 join 关键字 显示内连接:出现 join..on 关键字 左外连接,通常又叫左连接。右外连接通常又叫右连接。 一、内连接进行多表查询 内连接分为隐式内连接 select ... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(45)
评论(0)
推荐(0)
摘要:
前情提要:v1.0版本 只是简单的使用SpringBoot调用第三方天气API ■调用第三方API □定时任务 □存入redis 准备数据 1.代码: 点我获取🦌🐅>>> 2.天气API:http://wthrcdn.etouch.cn/we... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(234)
评论(0)
推荐(0)
摘要:
解决跨域问题 在SpringBoot2.0 上的跨域 用以下代码配置 解决前后端跨域请求问题 import org.springframework.context.annotation.Bean;import org.springframework.... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(68)
评论(0)
推荐(0)
摘要:
敲代码不疲劳~ 1.Controller层 ... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(401)
评论(0)
推荐(0)
摘要:
目录 操作:查询列表 1.controller层 2.Service层 3.Dao层 4. xml映射 操作:查询列表 主要看DAO层和XML映射 1.controller层 @PostMapping @ApiOperation("用... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(371)
评论(0)
推荐(0)
摘要:
学编程需要动力啊! 第一:自定义一个函数式接口 FileConsumer /** * Created by 肖橙橙 * CreateTime 2020-07-27 14:09 * 文件处理函数式接口 */@FunctionalInterfac... 阅读全文
posted @ 2022-04-26 00:54
你好,Alf
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号