文档
测试
POST
http://localhost:8094/user-leave/delete/{id}

请求头

参数名
类型
描述
必填
Content-Type
json
application/json
必填

请求参数

参数名
类型
描述
必填
id
int
主键ID-必填
必填

响应参数

参数名
类型
描述
必填
code
string
请求结果code,成功为EPP01_0000,其他为失败,例如数据不存在为EPP01_0003
必填
data
array
数据
必填
createdAt
date
创建时间
必填
description
string
描述值信息
必填
id
number
主键-其他业务保存此字段
必填
status
number
状态:0删除,1正常使用
必填
type
string
枚举类型-key值
必填
updateAt
date
修改时间
必填
value
string
必填
message
string
请求结果描述
必填

说明 / 示例

{ "code": "EPP01_0000", "data": [ { "createdAt": 1556433482000, "description": "男", "id": 1, "status": 1, "type": "sex", "updateAt": 1556433485000, "value": "men" }, { "createdAt": 1556433542000, "description": "女", "id": 2, "status": 1, "type": "sex", "updateAt": 1556433542000, "value": "women" } ], "message": "成功" }