|
|
@@ -52,9 +52,6 @@ public class DanReportUploadService {
|
|
|
@Resource
|
|
|
private DimensionScoreService dimensionScoreService;
|
|
|
|
|
|
- @Resource
|
|
|
- private BasicQuotaService basicQuotaService;
|
|
|
-
|
|
|
@Resource
|
|
|
private ReportBlockService reportBlockService;
|
|
|
|
|
|
@@ -78,14 +75,6 @@ public class DanReportUploadService {
|
|
|
// Phase 1: 上传并预览 PDF
|
|
|
public Result<Map<String, Object>> uploadAndParse(Long userId, Long memberId,
|
|
|
String dimension, MultipartFile file) {
|
|
|
- // BASIC 配额检查(报告上传)
|
|
|
- if (userId != null) {
|
|
|
- com.etotem.cfc.dto.QuotaConsumeResult quotaResult = basicQuotaService.consumeQuota(userId, "REPORT_UPLOAD");
|
|
|
- if (!quotaResult.isSuccess()) {
|
|
|
- return Result.error(403, quotaResult.getToastMsg());
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
if (file == null || file.isEmpty()) {
|
|
|
return Result.error("请选择文件");
|
|
|
}
|