文档
测试

商品修改

PUT
http://localhost:8010/api/goods/:id

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
name
String
商品名称
必填
jieshao
String
商品介绍
必填
oldPrice
Number
商品原价
必填
newPrice
Number
商品现价
必填
flag
String
商品标识
必填
zhonglei
String
商品种类
必填

响应参数

参数名
类型
描述
必填
code
Number
前后端响应状态码,0为失败,1为成功
必填
msg
String
提示信息
必填