文档
测试

modify_event

PUT
/mtd/major/user/modifyEvent

接口描述

修改日程

请求参数

参数名
类型
描述
必填
eventId
number
日程id
必填
newEventName
string
新的日程名称
必填
newEventTags
array[string]
新的日程
必填
newEventStartTime
string
新的开始日期
必填
newEventDdl
string
新的ddl
必填
newEventKeywords
array[string]
新的关键词列表
必填
newEventContent
string
必填
url
string
必填
location
string
必填

响应参数

参数名
类型
描述
必填
code
number
状态码
必填
msg
string
状态消息
必填

说明 / 示例

+ Request ```json { "eventId": 123455, "newEventName": "数据库考试", "newEventTags": ["数据库"], "newEventStartTime": "2019-05-05T00:00:00", "newEventDdl": "2019-05-10T00:00:00", "newEventKeywords": ["要玩","凉了"], "newEventContent": "德玛西亚", "url": "www.baidu.com", "location": "华师大" } ``` + Response ```json { "code": 0, "msg": "success", "data": null } ```