duan2

导航

 

2019年10月19日

摘要: 注解的本质 「java.lang.annotation.Annotation」接口中有这么一句话,用来描述『注解』。 The common interface extended by all annotation types 所有的注解类型都继承自这个普通的接口(Annotation) 这句话有点抽 阅读全文
posted @ 2019-10-19 17:31 duan2 阅读(897) 评论(0) 推荐(0) 编辑
 
摘要: package action;import org.junit.Before;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autow 阅读全文
posted @ 2019-10-19 16:27 duan2 阅读(871) 评论(0) 推荐(0) 编辑
 
摘要: 一、协议 API与客户端用户的通信协议,总是使用HTTPS协议,以确保交互数据的传输安全。 二、域名 应该尽量将API部署在专用域名之下: https://api.example.com 如果确定API很简单,不会有进一步扩展,可以考虑放在主域名下: https://www.example.com/ 阅读全文
posted @ 2019-10-19 15:18 duan2 阅读(2257) 评论(0) 推荐(0) 编辑