文档
测试

商品分类信息

POST
http://localhost:8080/portal/product/basecategory.do

请求参数

参数名
类型
描述
必填
pid
Integer
父ID
必填

响应参数

参数名
类型
描述
必填
status
Integer
状态码
可选
data
T
数据
可选
id
Integer
商品编号
必填
pname
String
商品名
必填
price
Integer
价格
必填
pimages
String
图片
必填
categoryId
Integer
分类id
必填
updateTime
Date
更新时间
必填
createTime
Date
创建时间
必填
msg
String
状态信息
可选

成功的返回示例

{ "status":200, "data":{ "id":12, "username":"aaa", "email":"aaa@126.com", "phone":null, "createTime":1222, "updateTime":1222 } }

失败的返回示例

{ "status": 100, "msg": "用户名不能为空" }

失败返回示例2

{ "status": 101, "msg": "用户名不存在" }

失败返回示例3

{ "status": 100, "msg": "密码不能为空" }

失败返回示例4

{ "status":1, "msg":"密码错误" }