套餐列表
POST
/app/app/goods/list请求参数
Header 参数
Authorization
string
必需
示例值:
{{Authorization}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {10}]
必需
id
integer
ID
title
string
标题
description
string
描述
price
string
价格
originalPrice
string
原价
orderNum
integer
排序
type
integer
类型
0-天 1-月 2-年
duration
integer
时长
tag
string
标签
左上角标签
tagColor
string
标签颜色
示例
{
"code": 1000,
"message": "success",
"data": [
{
"id": 1,
"createTime": "2023-11-07 15:44:03",
"updateTime": "2023-11-07 15:55:44",
"title": "三天体验",
"price": "9.90",
"originalPrice": "19.90",
"description": "低价体验,适合再买",
"status": 1,
"orderNum": 0,
"type": 0,
"duration": 3,
"tag": "体验",
"tagColor": "#ED0C0C"
}
]
}
最后修改时间: 1 年前