소스 검색

feat:批量删除

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

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

@@ -28,7 +28,7 @@ func NewCancelAllEmpowerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *
 // 根据功能分类取消授权
 func (l *CancelAllEmpowerLogic) CancelAllEmpower(in *pb.AllEmpowerReq) (*pb.Resp, error) {
 	resp := &pb.Resp{}
-	status, err := CancelEmpower(in.Appid, in.FunctionModule, in.EntId, in.EntUserId)
+	status, err := CancelAllEmpower(in.Appid, in.FunctionModule, in.EntId, in.EntUserId)
 	if err != nil {
 		l.Error(fmt.Sprintf("%+v", in), err)
 	}