套餐列表
POST
/app/app/goods/list
请求参数
Header 参数
Authorization
string
必需
示例值:
{{Authorization}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:8001/app/app/goods/list' \
--header 'Authorization: xxx'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
array [object {10}]
必需
id
integer
ID
title
string
标题
description
string
描述
price
string
价格
originalPrice
string
原价
orderNum
integer
排序
type
integer
类型
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"
}
]
}
修改于 2024-02-19 00:52:53