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