初始上传
This commit is contained in:
21
addon/pc/source/os/api/cms/notice.js
Executable file
21
addon/pc/source/os/api/cms/notice.js
Executable file
@@ -0,0 +1,21 @@
|
||||
import http from "../../utils/http"
|
||||
|
||||
/**
|
||||
* 获取公告列表
|
||||
*/
|
||||
export function noticesList(params) {
|
||||
return http({
|
||||
url: "/api/notice/page",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取公告详情
|
||||
*/
|
||||
export function noticeDetail(params) {
|
||||
return http({
|
||||
url: "/api/notice/info",
|
||||
data: params
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user