refacting: delete cloud comp
This commit is contained in:
+13
-2
@@ -16,10 +16,21 @@ const post_event = (data: {
|
||||
})
|
||||
}
|
||||
|
||||
const get_event = () => {
|
||||
/**
|
||||
* 查询事件(按月份 + 分页)
|
||||
* @param params.month yyyy-MM(必填,null 时后端默认当前月)
|
||||
* @param params.page 页码(从 1 开始,默认 1)
|
||||
* @param params.pageSize 每页大小(默认 10,上限 100)
|
||||
*/
|
||||
const get_event = (params?: {
|
||||
month?: string
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}) => {
|
||||
return service({
|
||||
url: '/calendar/api/v1/events',
|
||||
method: 'GET'
|
||||
method: 'GET',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user