|
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
-import com.chuanxia.mcp.bean.dto.DomainBindDto;
|
|
|
|
import com.chuanxia.mcp.bean.dto.DomainOperatorBindDto;
|
|
import com.chuanxia.mcp.bean.dto.DomainOperatorBindDto;
|
|
import com.chuanxia.mcp.bean.dto.OperatorQueryDto;
|
|
import com.chuanxia.mcp.bean.dto.OperatorQueryDto;
|
|
import com.chuanxia.mcp.bean.model.CdnDomain;
|
|
import com.chuanxia.mcp.bean.model.CdnDomain;
|
|
@@ -29,6 +28,9 @@ import org.springframework.transaction.annotation.Transactional;
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * @author Administrator
|
|
|
|
+ */
|
|
@Service
|
|
@Service
|
|
@Slf4j
|
|
@Slf4j
|
|
@RequiredArgsConstructor
|
|
@RequiredArgsConstructor
|
|
@@ -89,4 +91,11 @@ public class CdnOperatorServiceImpl extends ServiceImpl<CdnOperatorMapper, CdnOp
|
|
page = domainOperatorService.listPage(page, queryDto);
|
|
page = domainOperatorService.listPage(page, queryDto);
|
|
return Result.success(page);
|
|
return Result.success(page);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
|
+ public Result removeBind(Integer id) {
|
|
|
|
+ domainOperatorService.removeById(id);
|
|
|
|
+ return Result.success();
|
|
|
|
+ }
|
|
}
|
|
}
|