package com.ruoyi.web.controller.api; import com.ruoyi.common.core.domain.R; import com.ruoyi.framework.web.service.TokenService; import com.ruoyi.system.model.TSysLive; import com.ruoyi.system.model.TSysObsConfig; import com.ruoyi.system.service.TSysLiveService; import com.ruoyi.system.service.TSysObsConfigService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; 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.RequestParam; import org.springframework.web.bind.annotation.RestController; /** *

* obs文件上传配置 前端控制器 *

* * @author xiaochen * @since 2025-09-11 */ @RestController @RequestMapping("/t-sys-obs-config") public class TSysObsConfigController { private final TSysObsConfigService sysObsConfigService; @Autowired public TSysObsConfigController(TSysObsConfigService sysObsConfigService) { this.sysObsConfigService = sysObsConfigService; } /** * 查看obs文件上传配置 */ @GetMapping(value = "/getDetailById") public R getDetailById() { return R.ok(sysObsConfigService.getById(1)); } }