ソースを参照

fix bug

release_toaliyun_real
xiaohanzi 5年前
コミット
368bb7de0b
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java

+ 1
- 1
mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java ファイルの表示

@@ -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);
}



読み込み中…
キャンセル
保存