创建设备
POST
api/v1/hardware
请求参数
参数名
类型
描述
必填
name
string
名称
必填
serial
string
唯一 设备sn 必填
必填
assign_depart_id
int
所在部门id 必填
必填
category_id
int
分类id 必填
必填
notes
string
必填
supplier_id
int
必填
status_id
int
状态id 必填
必填
feature
string
配置
必填
model
必填
响应参数
参数名
类型
描述
必填
code
int
0
必填
msg
string
成功
必填