소스 검색

增加接口

wangchuanjin 2 년 전
부모
커밋
1e7dcb8f83
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rpc/internal/logic/empoweruseridslogic.go

+ 1 - 1
rpc/internal/logic/empoweruseridslogic.go

@@ -26,5 +26,5 @@ func NewEmpowerUserIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Em
 func (l *EmpowerUserIdsLogic) EmpowerUserIds(in *pb.EmpowerUserIds) (*pb.EmpowerUserIds, error) {
 	// todo: add your logic here and delete this line
 
-	return service.EmpowerUserIds(in.id), nil
+	return service.EmpowerUserIds(in.Ids), nil
 }