06 2019 档案
摘要:1. 打包 JSONObject jsonObject = new JSONObject(); jsonObject.put("code", "200"); jsonObject.put("message", "成功"); JSONArray deviceTypeArray = new JSONAr
阅读全文
摘要:接口.java public interface DeService { } 接口实现类1.java @Service("ud")public class DeServiceImplUD implements DeService{ } 接口实现类2.java @Service("ug")public
阅读全文
摘要:代码补全(包括import)提示: Alt + / 查找接口或者方法的实现: Ctrl + T(选择方法quick type hierarchy,在mac下是cmd+T) 代码纠正(fix)提示: Ctrl + 1 删除当前行: Ctrl + D 注释当前行: Ctrl + / (在有注释//下是去
阅读全文
摘要:转自https://www.cnblogs.com/tomxin7/p/9434085.html 业务介绍 最近用Spring Boot开发了一个翻译的小项目,但是服务器上还跑着其他项目,包括一个同样用Spring Boot开发的微信后端服务,本次业务需要在阿里云的Linux使用同一个Tomcat容
阅读全文
摘要:1.创建user表 2.创建gateway表 3.创建user_gateway表 4.创建device表 5.创建gateway_device表 6.创建一个实体类 public class DeviceModule{ private Integer id; private String devic
阅读全文