dcsunny 4 năm trước cách đây
mục cha
commit
550f19540d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      http/handle.go

+ 2 - 1
http/handle.go

@@ -12,8 +12,9 @@ import (
 	"github.com/go-kratos/kratos/v2/encoding"
 	"github.com/go-kratos/kratos/v2/errors"
 
+	_ "github.com/go-kratos/kratos/v2/encoding/proto"
+
 	"git.ikuban.com/server/kratos-utils/http/encoding/jsonpb"
-	_ "github.com/go-kratos/kratos/v2/transport"
 )
 
 // decodeRequest decodes the request body to object.