Docker Compose Demo

2019/08/03

目录树

参考资料

https://blog.51cto.com/9291927/2310444

Demo Project

2.1

2.2

  • 源代码 ``` @Data @NoArgsConstructor @AllArgsConstructor public class ResultEntity { private String code; private String msg; private T data;

    public static ResultEntity getSuccessResult(T data) { return new ResultEntity(MessageConstant.CODE_SUCCESS, MessageConstant.MESSAGE_SUCCESS, data); }

    public static ResultEntity getSuccessResult() { return new ResultEntity(MessageConstant.CODE_SUCCESS, MessageConstant.MESSAGE_SUCCESS, null); }

    public static ResultEntity getResult(String code, String message) { return new ResultEntity(code, message, null); }

} ```


扫描关注:Andy风雨无阻

(转载本站文章请注明作者和出处 风雨无阻

Show Disqus Comments

Post Directory