Procházet zdrojové kódy

Merge branch 'feature/bug-list' of xuyiping/kpt-tmr-group into develop

xuyiping před 1 rokem
rodič
revize
20f2240e32
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      module/backend/interface.go

+ 1 - 1
module/backend/interface.go

@@ -112,7 +112,7 @@ type PastureService interface {
 type SystemService interface {
 	// Auth 系统用户相关
 	Auth(ctx context.Context, auth *operationPb.UserAuthData) (*operationPb.SystemToken, error)
-	GetUserName(ctx context.Context) (string, error)
+	GetCurrentUserName(ctx context.Context) (string, error)
 	GetUserInfo(ctx context.Context, token string) (*operationPb.UserAuth, error)
 	CreateSystemUser(ctx context.Context, req *operationPb.AddSystemUser) error
 	SearchSystemUserList(ctx context.Context, req *operationPb.SearchUserRequest) (*operationPb.SearchUserResponse, error)