package cn.cslg.report.controller.InvalidReReport;

import cn.cslg.report.common.core.base.Constants;
import cn.cslg.report.common.model.dto.ShareReportDTO;
import cn.cslg.report.common.utils.Response;
import cn.cslg.report.service.business.InvalidReReport.ProofService;
import cn.cslg.report.service.business.asso.AssoReportPersonService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * 报告分享管理的Controller层
 *
 * @Author lrj
 * @Data 2023/4/1
 */
@Tag(name = "无效应对证据管理")
@Slf4j
@RequiredArgsConstructor
@RestController
@RequestMapping(Constants.REPORT_API + "/proof")
public class ProofController {
    private final ProofService proofService;

//    @Operation(summary = "上传专利文献证据（文件）")
//    @PostMapping("/addPatentProofByFile")
//    public String addPatentProofByFile(@RequestBody ShareReportDTO shareReportDTO) {
//        proofService.
//        return Response.success(flag);
//    }
//
//
//    @Operation(summary = "上传非专利文献证据")
//    @PostMapping("/addProofByFile")
//    public String addProofByFile(@RequestBody ShareReportDTO shareReportDTO) {
//        proofService
//        return Response.success();
//    }
//
//
//    @Operation(summary = "上传专利文献证据（专利号）")
//    @PostMapping("/addPatentFile")
//    public String addPatentFile(@RequestBody ShareReportDTO shareReportDTO) throws IOException {
//
//        return Response.success(assoReportPersonService.showShare(shareReportDTO));
//    }

}
