上一页 1 ··· 7 8 9 10 11
摘要: 1. 博客设置 -- 文件 -- 上传(上传bmp格式的微信或支付宝的收款码) 2. 博客设置 -- 设置 -- 博客侧边栏公告(支持HTML代码) (支持 JS 代码)处 添加如下代码 <!-- tctip 支付赞赏/打赏 --> <script type="text/javascript" sr 阅读全文
posted @ 2020-09-19 22:33 SimonShixinlong 阅读(259) 评论(0) 推荐(0)
摘要: import lombok.Data; @Data public class Person { private String name;//姓名 private String age;//年龄 private String sex;//性别 } public static void main(Str 阅读全文
posted @ 2020-09-12 23:22 SimonShixinlong 阅读(794) 评论(0) 推荐(0)
摘要: // split()中引入了正则 所以切割 ? 需要先转义 public static void main(String[] args) { String url = "http://172.0.0.1/zhangsan.jpg?age=20"; String[] split = url.split 阅读全文
posted @ 2020-09-01 17:32 SimonShixinlong 阅读(2802) 评论(0) 推荐(0)
摘要: 1 public static void main(String[] args) { 2 Date date = new Date(); 3 System.out.println("date = " + date);//date = Sat Aug 29 17:06:01 CST 2020 4 Si 阅读全文
posted @ 2020-08-29 17:09 SimonShixinlong 阅读(735) 评论(0) 推荐(0)
摘要: 相同点: @Resource的作用相当于@Autowired,均可标注在字段或属性的setter方法上。 不同点: (1)提供方:@Autowired是由org.springframework.beans.factory.annotation.Autowired提供,换句话说就是由Spring提供; 阅读全文
posted @ 2020-08-26 13:50 SimonShixinlong 阅读(166) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11