简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2023-12-13 |
请求URL:
请求方式:
- POST
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| token | 否 | string | token参数 |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| module | 是 | string | 模块 |
| page | 是 | int | 页码 |
| pagesize | 是 | int | 数量 |
| cate_id | 否 | int | 分类id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "获取成功",
"data": {
"list": [
{
"goods_id": 28,
"goods_name": "进口香蕉",
"cover": "https://wzbuploads.oss-cn-hangzhou.aliyuncs.com/shop/2023/12/12/65780b07c5afc.jpg",
"purchase_price": "",
"today_price": "9元",
"tomorrow_price": "20元",
"tomorrow_discount": "4折",
"unit": "斤",
"presale_price": "8元"
}
],
"page": 1,
"pagesize": 1,
"total": 5
}
}失败时返回:
{
"status": 0,
"msg": "更新失败"
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| goods_id | int | 商品id |
| goods_name | string | 商品名称 |
| cover | string | 商品封面 |
| purchase_price | string | 进件【有则显示,无则不显示】 |
| today_price | string | 现价 |
| tomorrow_price | string | 明日价 |
| tomorrow_discount | string | 折扣 |
| unit | string | 商品单位 |
| presale_price | string | 预售价 |
备注:
- 无
作者:admin 创建时间:2023-12-13 15:11
更新时间:2025-04-10 15:43
更新时间:2025-04-10 15:43