{
"startTime": "2019-08-24T14:15:22.123Z",
"endTime": "2019-08-24T14:15:22.123Z",
"type": 1,
"reason": "阅读芋道源码",
"endTimeValid": true
}curl --location --request POST '/admin-api/bpm/oa/leave/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"startTime": "2019-08-24T14:15:22.123Z",
"endTime": "2019-08-24T14:15:22.123Z",
"type": 1,
"reason": "阅读芋道源码",
"endTimeValid": true
}'{
"code": 0,
"data": 0,
"msg": "string"
}