增加日历组件
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { service } from '../utils/request'
|
||||
|
||||
const put_event = (data: Object) => {
|
||||
return service({
|
||||
url: '/calendar/api/v1/event',
|
||||
method: 'PUT',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
const get_event = () => {
|
||||
return service({
|
||||
url: '/calendar/api/v1/event',
|
||||
method: 'GET',
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
get_event,
|
||||
put_event,
|
||||
}
|
||||
Reference in New Issue
Block a user