Browse Source

feat:升级

wangchuanjin 1 year ago
parent
commit
ce4f5e22c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/internal/logic/resempowerlogic.go

+ 1 - 1
api/internal/logic/resempowerlogic.go

@@ -39,7 +39,7 @@ func (l *ResEmpowerLogic) ResEmpower(req *types.ResEmpowerReq) (resp *types.BiRe
 			EntId:        req.EntId,
 			EntUserId:    entUserIds,
 		})
-	} else {
+	} else if req.ReqType == -1 {
 		r, err = l.svcCtx.ResourceCenterRpc.CancelEmpower(context.Background(), &pb.EmpowerReq{
 			Appid:        "10000",
 			FunctionCode: req.FunctionCode,