Skip to content

Commit 927fe08

Browse files
committed
fix(grpc-spring): fix class import error
1 parent a123996 commit 927fe08

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

grpc-spring/cloud-grpc-client/src/main/java/com/helltractor/demo/interceptor/LogGrpcInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.helltractor.demo.interceptor;
22

3+
import io.grpc.*;
34
import lombok.extern.slf4j.Slf4j;
45

56
@Slf4j

grpc-spring/grpc-common/src/main/java/com/helltractor/demo/interceptor/JwtGrpcClientInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.helltractor.demo.constant.JwtConstant;
44
import com.helltractor.demo.util.JwtUtil;
5+
import io.grpc.*;
56
import org.springframework.beans.factory.annotation.Value;
67

78
public class JwtGrpcClientInterceptor implements ClientInterceptor {

grpc-spring/grpc-common/src/main/java/com/helltractor/demo/interceptor/JwtGrpcServerInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.helltractor.demo.constant.JwtConstant;
44
import com.helltractor.demo.util.JwtUtil;
5+
import io.grpc.*;
56
import io.jsonwebtoken.Claims;
67
import io.jsonwebtoken.Jws;
78
import io.jsonwebtoken.JwtException;

0 commit comments

Comments
 (0)