Nginx如何配置反向代理
设置RequestHeader
1.1
1.2
允许跨域
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