文档
测试

增加商品个体

POST
http://localhost:8085/sys/commodity-spu/add

请求参数

参数名
类型
描述
必填
commodityNum
string
示例:TX0033
必填
typeId
int
示例:1
必填
title
string
示例:超好看的衬衫
必填
cover
string
示例:封面
必填
message
string
示例:颜色
必填
price
float
示例:12.21
必填
picture
图片
必填

响应参数

参数名
类型
描述
必填
resultCode
int
示例:200
必填
resultMsg
string
示例:成功
必填
resultData
int
示例:1
必填

说明 / 示例

![image.png](https://cos.easydoc.net/75479436/files/kd5pmhr0.png)