12 2021 档案

摘要:1:代码: 1 package com.lieyan; 2 3 public class TestStudent { 4 public static void main(String[] args) { 5 6 // getClass方法 7 Student s1 = new Student("aa 阅读全文
posted @ 2021-12-27 22:51 现在开始JAVA 阅读(43) 评论(0) 推荐(0)
摘要:1 <!-- 导入依赖 dubbo+zookeeper --> 2 <!-- https://mvnrepository.com/artifact/org.apache.dubbo/dubbo-spring-boot-starter --> 3 <dependency> 4 <groupId>org 阅读全文
posted @ 2021-12-14 22:18 现在开始JAVA 阅读(393) 评论(0) 推荐(0)
摘要:一简单方式: 1 SimpleMailMessage simpleMailMessage = new SimpleMailMessage(); 2 simpleMailMessage.setSubject("java测试邮件"); 3 simpleMailMessage.setText("看看能否通 阅读全文
posted @ 2021-12-06 22:51 现在开始JAVA 阅读(52) 评论(0) 推荐(0)
摘要:请求: 1 curl -X POST "http://localhost:8080/hello2" -H "accept: */*" -H "Content-Type: application/json" -d "{ \"username\": \"test\"}" 接口: 1 @PostMappi 阅读全文
posted @ 2021-12-02 22:45 现在开始JAVA 阅读(71) 评论(0) 推荐(0)