feat(web): 引入 Vite 前端应用并扩展仓库忽略规则
将整套 web 源码纳入仓库,并为 web/node_modules、构建产物及本地环境文件配置 .gitignore,同时移除占位用的 assets/.gitkeep。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
23
web/src/api/notice/notice.js
Normal file
23
web/src/api/notice/notice.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// <!-- 消息管理模块 -->
|
||||
import request from '../../utils/request'
|
||||
|
||||
// 获取消息管理
|
||||
export function getNoticeList(data) {
|
||||
return request(
|
||||
{
|
||||
url: "/notice/list",
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//标记通知为已读
|
||||
export function getReadALl(data) {
|
||||
return request(
|
||||
{
|
||||
url: "/notice/read",
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user