mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
[fix] 尝试修复公告的对外开放接口1.0
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user