创建
POST
/api/resource/create
请求参数
参数名
类型
描述
必填
name
string
资源名
必填
number
int
数值
可选
tag
array
标签
必填
desc
string
资源描述
可选
unit
string
单位
必填
响应参数
参数名
类型
描述
必填
code
int
状态码
必填
id
int
资源id
必填