package com.red.circle.console.app.service.app.sys;

import com.red.circle.other.inner.endpoint.sys.AdministratorClient;
import com.red.circle.other.inner.model.cmd.sys.SysAdministratorAuthCmd;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * <p>
 * APP管理员权限关系表 服务实现类.
 * </p>
 *
 * @author houyong
 * @since 2021-03-23
 */
@Service
@RequiredArgsConstructor
public class SysAdministratorAuthServiceImpl implements
    SysAdministratorAuthService {

  private final AdministratorClient administratorClient;

  @Override
  public void deleteAndAddAdministratorAuth(SysAdministratorAuthCmd cmd) {
    administratorClient.deleteAndAddAdministratorAuth(cmd);
  }

}
