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