摘要: 英文常见的前缀,后缀表 常用前缀 ante- 表示‘在...以前’ antenatal 出生前 ant- 表示‘反对...的’ antisocial 反社会的 auto- 表示‘自己的’ autobiography 自传 bi- 表示‘两个’ bicycle 自行车 bio- 表示‘生命的’ biology 生物学 cen 阅读全文
posted @ 2021-10-21 15:54 adam宋 阅读(2247) 评论(0) 推荐(0) 编辑
摘要: Lesson aim By the end of this lesson, Ss will be able to talk about restaurant food using verbs of perception and adjectives.. Lesson aim By the end o 阅读全文
posted @ 2021-01-31 18:07 adam宋 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 创建add.js function add(x,y){ return x+y}module.exports=add; add.test.js //断言库var chai=require('chai');//断言风格 should assert expectvar expect=chai.expect 阅读全文
posted @ 2021-01-10 22:18 adam宋 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 一、采用 Spring Initializr 搭建springboot应用 步骤: 1、只需要打开网址: https://start.spring.io/; 2、选择使用 Maven 构建,语言 java,Spring Boot 版本 2.0.4,group 为 com.shiyanlou,arti 阅读全文
posted @ 2020-12-30 10:51 adam宋 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 在 开发过程中,需要对每个 方法 执行时 进行日志 记录, 故而 整理一下, 有关 AOP 的 相关 知识点。 1. 切面类: @Aspect : 定义切面类, 加上 @Aspect,@Component 注解; 2. 切点: @Pointcut: 阅读全文
posted @ 2020-12-19 00:47 adam宋 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1.自定义注解 package com.jay.demo3.aop1.myannotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.ann 阅读全文
posted @ 2020-12-18 19:09 adam宋 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Spring 创建 bean 有 多种方式: 自动创建,手动创建注入; 方式1: 使用 Spring XML 配置; <bean id=''id class=''class / > 方式2: 使用 @Component, @Service, @Controler, @Repository 注解; 这 阅读全文
posted @ 2020-12-18 17:16 adam宋 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 1.spring IOC容器 其实就是 new 了一个 ApplicationContext 类对象。-》应用上下文对象。 2.应用上下文对象 实例化、配置,并管理 bean。 所以上下文对象是 spring 的核心, 创建对象并把他们连接在一起,管理他们的生命周期。 spring容器(应用上下文) 阅读全文
posted @ 2020-12-16 19:56 adam宋 阅读(127) 评论(0) 推荐(0) 编辑