- Tigshop标准版
- 后台adminapi
- authority --- 权限组
- merchant ----商户
- common --- 公共方法组
- content --- 文章组
- decorate --- 装修组
- promotion --- 营销组
- setting --- 配置组
- salesman --- 分销
- user --- 会员模块
- finance --- 财务组
- product --- 商品
- product_attributes --- 商品属性管理(待定)
- product_attributes_tpl --- 商品属性模板管理
- product_inventory_log --- 商品库存日志管理
- product_batch --- 商品批量处理管理
- product_services --- 商品服务
- e_card_group --- 电子卡券组
- e_card --- 电子卡券
- product_group ---商品分组
- shop_product_category ---店铺商品分类 (待定)
- price_inquiry --- 询价管理
- brand --- 品牌管理
- category --- 商品分类管理
- comment --- 商品评论管理
- product --- 商品管理
- panel --- 统计面板组
- lang --- 多语言
- login --- 登录组
- order---订单组
- msg --- 消息管理组
- 前台api
- search --- 搜索
- merchant --- 商户
- article --- 文章
- salesman --- 分销
- product --- 商品
- order --- 订单
- category --- 商品分类
- home --- 首页
- cart --- 购物车
- user --- 会员中心
- common --- 公共方法
- shop --- 店铺
- IM
- 安装
销售明细
开发中
GET
/adminapi/panel/sales_statistics/sales_detail
请求参数
Query 参数
start_time
string
开始时间
示例值:
2024-11-13
end_time
string
结束时间
示例值:
2024-12-12
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/panel/sales_statistics/sales_detail?start_time=2024-11-13&end_time=2024-12-12'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"msg": "ok",
"data": {
"sales_data": {
"product_view": 0,
"product_view_growth_rate": "--",
"product_visitor": 0,
"product_visitor_growth_rate": "--",
"order_num": 49,
"order_num_growth_rate": "-65.25",
"payment_amount": 11608.31,
"payment_amount_growth_rate": "-80.28",
"refund_amount": "10.00",
"refund_amount_growth_rate": "400.00",
"refund_quantity": 24,
"refund_quantity_growth_rate": "500.00"
},
"sales_statistics_data": {
"horizontal_axis": [
"2024-05-08",
"2024-05-09",
"2024-05-10",
"2024-05-11",
"2024-05-12",
"2024-05-13",
"2024-05-14",
"2024-05-15",
"2024-05-16",
"2024-05-17",
"2024-05-18",
"2024-05-19",
"2024-05-20",
"2024-05-21",
"2024-05-22",
"2024-05-23",
"2024-05-24",
"2024-05-25",
"2024-05-26",
"2024-05-27",
"2024-05-28",
"2024-05-29",
"2024-05-30",
"2024-05-31",
"2024-06-01",
"2024-06-02",
"2024-06-03",
"2024-06-04",
"2024-06-05",
"2024-06-06",
"2024-06-07"
],
"longitudinal_axis_payment_amount": [
"2366.80",
"964.00",
"2830.40",
0,
0,
"2299.00",
0,
"-437.16",
0,
"42.52",
"1998.15",
0,
0,
0,
"97.00",
"188.00",
"1194.60",
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
"65.00",
0
],
"longitudinal_axis_refund_amount": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
"10.00",
0
],
"longitudinal_axis_product_view": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"longitudinal_axis_product_visitor": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"errcode": 0,
"message": ""
}
}
🟠404失败