[fix] 尝试修复公告的对外开放接口1.0

This commit is contained in:
hsdllcw
2025-04-14 10:44:19 +08:00
parent 1eb48a1557
commit 3fbf2b74fe
26 changed files with 33 additions and 34 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-api</artifactId>
<version>3.6.5.0.5</version>
<version>3.6.5.0.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -3,8 +3,8 @@ package com.ruoyi.system.api.inner
import com.ruoyi.common.core.constant.SecurityConstants
import com.ruoyi.common.core.domain.R
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.RequestHeader
import org.springframework.web.bind.annotation.RequestParam
interface InnerRemoteSysNoticeService {
/**
@@ -12,9 +12,9 @@ interface InnerRemoteSysNoticeService {
* @param noticeId 公告ID
* @return 公告信息
*/
@GetMapping("/inner/notice/detail/{noticeId:\\d+}")
@GetMapping("/inner/notice/detail")
fun getById_Inner(
@PathVariable("noticeId") noticeId: Long,
@RequestParam("noticeId") noticeId: Long,
@RequestHeader(SecurityConstants.FROM_SOURCE) source: String
): R<Any>
}