摘要:
$("#dl").click(function () { alert(123); }) 阅读全文
posted @ 2024-02-19 15:50
笑~笑
阅读(7)
评论(0)
推荐(0)
摘要:
$.ajax({ url: "http://192.168.0.59:8081/t1/count", // 要发送请求的URL type: "GET", // 请求类型(默认为GET) dataType: "json", // 服务器返回的数据格式(默认为智能判断) data: {}, // 传递到 阅读全文
posted @ 2024-02-19 15:14
笑~笑
阅读(8)
评论(0)
推荐(0)
摘要:
JS定时任务 1. 页面上2秒执行一次任务: setInterval(function(){ //执行任务 },2000); //取消执行 clearInterval(); 2.延时执行: JS都是延时执行的,没有多线程概念,碰到要使用全局变量的时候,要使用递归来实现全局变量数值变化! 3.页面上只 阅读全文
posted @ 2024-02-19 14:54
笑~笑
阅读(521)
评论(0)
推荐(0)
摘要:
<body> <img id="img1" src="http://127.0.0.1:8081/t1/img" onclick="updateImg1()"> </body> <script> function updateImg1(){ $("#img1").attr("src","http:/ 阅读全文
posted @ 2024-02-19 14:53
笑~笑
阅读(114)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { System.setProperty("java.awt.headless", "false"); SpringApplication.run(SpringBootMain.class, args); } 阅读全文
posted @ 2024-02-19 14:28
笑~笑
阅读(27)
评论(0)
推荐(0)
摘要:
<img src="http://127.0.0.1:8081/t1/img"> @GetMapping("/img") @SneakyThrows public void test01(HttpServletResponse response){ String jp = Jie截屏.jp(0, 0 阅读全文
posted @ 2024-02-19 14:25
笑~笑
阅读(177)
评论(0)
推荐(0)
摘要:
添加启动类 @SpringBootApplication public class SpringBootMain { public static void main(String[] args) { SpringApplication.run(SpringBootMain.class, args); 阅读全文
posted @ 2024-02-19 11:41
笑~笑
阅读(116)
评论(0)
推荐(0)
摘要:
将启动类放在包下面,不能直接放在java根目录下 阅读全文
posted @ 2024-02-19 11:25
笑~笑
阅读(11)
评论(0)
推荐(0)