Browse Source

1、测试环境拦截器截取路径与本地环境有差异,多了一层/api

master
bjang03 6 months ago
parent
commit
f47f4b9713
  1. 2
      win-module-system/win-module-system-biz/src/main/java/com/win/module/system/framework/web/config/ModuleAuthenInterceptor.java

2
win-module-system/win-module-system-biz/src/main/java/com/win/module/system/framework/web/config/ModuleAuthenInterceptor.java

@ -43,7 +43,7 @@ public class ModuleAuthenInterceptor implements HandlerInterceptor {
if (endTime == null || endTime.isBefore(LocalDateTime.now())){
response.setContentType("application/json;charset=utf-8");
CommonResult result = new CommonResult<>();
result.setCode(500);
result.setCode(403);
result.setMsg(String.format("【%s】模块权限到期,请联系服务商缴费", moduleName));
@Cleanup PrintWriter os = response.getWriter();
os.write(new JSONObject(result).toString());

Loading…
Cancel
Save