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