PUT
http://localhost:3000/roles/update
请求参数
参数名
类型
描述
必填
id
number
【必传】角色的id
必填
name
string
【可选】角色的名字
必填
desc
string
【可选】角色的描述,desc和name的参数,必须传一个
必填