文档
测试

全部修改

POST
http://localhost:8080/api/product/product/update/all

接口描述

完整的修改整个商品

请求参数

参数名
类型
描述
必填
productId
int
示例:14
必填
name
string
示例:小米13
必填
image
string
示例:no
必填
description
string
示例:no
必填
brandId
int
示例:1
必填
catelogId
int
示例:16
必填
minPrice
int
示例:4600
必填
details
array
数据列表
必填
image
string
示例:无
必填
productId
int
示例:14
必填
count
int
示例:14
必填
price
string
示例:3000
必填
detail
object
数据字典
必填
肤色
string
示例:白色
必填
磁盘
string
示例:2T
必填

说明 / 示例

发送数据: ~~~ { "productId": 14, "name": "小米13", "image": "no", "description": "no", "brandId": 1, "catelogId": 16, "minPrice": 4600, "details": [ { "image": "无", "productId": 14, "count": 14, "price": "3000", "detail": { "肤色": "白色", "磁盘": "2T" } }, { "image": "无", "productId": 14, "count": 12, "price": "3500", "detail": { "肤色": "白色", "磁盘": "2T" } } ] } ~~~