修改根据排单id获取小板为分页

This commit is contained in:
yangsb
2024-04-28 16:27:59 +08:00
parent 79d271d7bb
commit c58572a4fb
6 changed files with 33 additions and 28 deletions
@@ -45,6 +45,7 @@ public class DataSourceFilter extends OncePerRequestFilter {
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
String dataCode = request.getHeader(DATA_SOURCE_CODE);
if(StrUtil.isEmpty(dataCode)) {
//TODO 如果要严谨一点,应该再去校验一下token
ServletUtils.writeJSON(response, CommonResult.error(GlobalErrorCodeConstants.UNAUTHORIZED.getCode(), "访问令牌已过期"));
log.info("Let the user log in because there is no data-code! requestURI==>{}", request.getRequestURI());
return;