diff --git a/biz/handler/relation/follower_list_service.go b/biz/handler/relation/follower_list_service.go index 2dc43f9..d88d4ab 100755 --- a/biz/handler/relation/follower_list_service.go +++ b/biz/handler/relation/follower_list_service.go @@ -4,10 +4,9 @@ package relation import ( "context" + relation "github.com/ClubWeGo/douyin/biz/model/relation" "github.com/ClubWeGo/douyin/kitex_server" "github.com/ClubWeGo/douyin/tools" - - relation "github.com/ClubWeGo/douyin/biz/model/relation" "github.com/cloudwego/hertz/pkg/app" "github.com/cloudwego/hertz/pkg/protocol/consts" ) diff --git a/kitex_server/userservice.go b/kitex_server/userservice.go index fbe4700..d39f5d2 100755 --- a/kitex_server/userservice.go +++ b/kitex_server/userservice.go @@ -3,9 +3,9 @@ package kitex_server import ( "context" "errors" + "github.com/prometheus/common/log" "strconv" "sync" - "github.com/ClubWeGo/douyin/biz/model/core" "github.com/ClubWeGo/usermicro/kitex_gen/usermicro" "github.com/ClubWeGo/videomicro/kitex_gen/videomicro" @@ -142,6 +142,7 @@ func RegisterUser(username, password string) (userid int64, err error) { Password: password, // 此处传输明文,加密由user微服务进行 }) if err != nil { + log.Errorf("注册error:%s", err) return 0, err }