# ServiceRequestCenterS3Controller.java

    package cloud.wconnect.it.controller.servicerequestcenter;

    import cloud.wconnect.commonlib.annotation.ApiId;
    import cloud.wconnect.commonlib.pojo.query.s3.DownloadFileUrlQuery;
    import cloud.wconnect.commonlib.pojo.query.s3.UploadFileUrlQuery;
    import cloud.wconnect.commonlib.util.S3ControllerUtil;
    import jakarta.validation.Valid;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.web.bind.annotation.GetMapping;
    import org.springframework.web.bind.annotation.RequestMapping;
    import org.springframework.web.bind.annotation.RestController;

    import java.util.Map;

    /**
     * S3 控制层
     *
     * @author yyt
     * @date 2025/12/19
     */
    @RestController
    @RequestMapping("/dashboard/service-request-center")
    public class ServiceRequestCenterS3Controller {

        @Autowired
        private S3ControllerUtil s3ControllerUtil;

        /**
         * 1682 - s3 下载文件 url
         *
         * @param downloadFileUrlQuery 查询对象
         * @return java.util.Map
         * @author yyt
         * @date 2025/12/19
         */
        @ApiId(1682)
        @GetMapping("/s3/download-file-url")
        public Map<String, String> getDownloadFileUrl(@Valid DownloadFileUrlQuery downloadFileUrlQuery) {
            return s3ControllerUtil.getDownloadFileUrl(downloadFileUrlQuery);
        }

        /**
         * 1683 - s3 上传文件 url
         *
         * @param property           资产标识
         * @param uploadFileUrlQuery 查询对象
         * @return java.util.Map
         * @author yyt
         * @date 2025/12/19
         */
        @ApiId(1683)
        @GetMapping("/s3/upload-file-url")
        public Map<String, String> getUploadFileUrl(String tenant, String property, @Valid UploadFileUrlQuery uploadFileUrlQuery) {
            return s3ControllerUtil.getUploadFileUrl(tenant, property, uploadFileUrlQuery);
        }

    }