文档
测试

修改id为xx的商品信息

PUT
http://localhost:8888/goods/update_id

请求参数

参数名
类型
描述
必填
_id
string
示例:5f0b29c573b30f4818ad6c6f
必填
price
float
示例:2.22
必填

响应参数

参数名
类型
描述
必填
flag
boolean
示例:false
必填
data
object
数据字典
必填
result
object
数据字典
必填
n
int
示例:1
必填
nModified
int
示例:1
必填
ok
int
示例:1
必填
connection
object
数据字典
必填
id
int
示例:0
必填
host
string
示例:localhost
必填
port
int
示例:27017
必填
modifiedCount
int
示例:1
必填
upsertedId
object
示例:null
必填
upsertedCount
int
示例:0
必填
matchedCount
int
示例:1
必填
n
int
示例:1
必填
nModified
int
示例:1
必填
ok
int
示例:1
必填
message
string
示例:修改成功
必填