Explorar el Código

fix bug

release_toaliyun_real
xiaohanzi hace 5 años
padre
commit
368bb7de0b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java

+ 1
- 1
mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java Ver fichero

@@ -54,7 +54,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
}

//token为空
if(StringUtils.isBlank(token)){
if(StringUtils.isBlank(token) || "null".equals(token) || "undefined".equals(token)){
throw new MallinkException(ErrorCode.NET_TOKEN_EMPTY);
}



Cargando…
Cancelar
Guardar