list.md
8.75 KB
产品列表
OpenAPI Specification
openapi: 3.0.1
info:
title: ''
version: 1.0.0
paths:
/srv/:
get:
summary: 产品列表
deprecated: false
description: ''
tags:
- 产品
parameters:
- name: f
in: query
description: ''
required: true
example: manulife
schema:
type: string
- name: a
in: query
description: ''
required: true
example: get_product
schema:
type: string
- name: t
in: query
description: ''
required: true
example: list
schema:
type: string
- name: client_id
in: query
description: 主体id
required: false
example: '30901'
schema:
type: string
- name: limit
in: query
description: ''
required: false
example: '10'
schema:
type: string
- name: page
in: query
description: ''
required: false
example: '0'
schema:
type: string
- name: cid
in: query
description: 分类id
required: false
schema:
type: string
- name: recommend
in: query
description: '推荐位: normal-普通, hot-热卖'
required: false
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: integer
data:
type: object
properties:
categories:
type: array
items:
type: object
properties:
id:
type: integer
title: 分类id
name:
type: string
title: 分类名
x-apifox-orders:
- id
- name
title: 分类列表
list:
type: array
items:
type: object
properties:
id:
type: integer
title: 产品id
product_name:
type: string
title: 产品名
recommend:
type: string
title: '推荐位: normal-普通, hot-热卖'
form_sn:
type: string
created_time:
type: string
title: 创建时间
categories:
type: array
items:
type: object
properties:
id:
type: string
title: 分类id
name:
type: string
title: 分类名
required:
- id
- name
x-apifox-orders:
- id
- name
title: 产品所属分类
tags:
type: array
items:
type: object
properties:
id:
type: string
title: 标签id
name:
type: string
title: 标签名
bg_color:
type: string
title: 标签背景色
text_color:
type: string
title: 标签文字色
required:
- id
- name
- bg_color
- text_color
x-apifox-orders:
- id
- name
- bg_color
- text_color
title: 产品标签
cover_image:
type: string
title: 产品封面图
required:
- id
- product_name
- recommend
- form_sn
- created_time
- categories
- tags
- cover_image
x-apifox-orders:
- id
- product_name
- recommend
- form_sn
- cover_image
- created_time
- categories
- tags
title: 产品列表
total:
type: integer
title: 产品总数
required:
- categories
- list
- total
x-apifox-orders:
- categories
- list
- total
required:
- code
- msg
- data
x-apifox-orders:
- code
- msg
- data
example:
code: 1
msg: 0
data:
categories:
- id: 2769851
name: '11'
list:
- id: 2769856
product_name: '22'
recommend: hot
form_sn: customize_jsj_pnzuky
created_time: '2026-02-03 10:36:29'
categories:
- id: '2769851'
name: '11'
tags:
- id: '2769847'
name: '111'
bg_color: '#3e5160'
text_color: '#ffffff'
- id: 2769848
product_name: '1111'
recommend: normal
form_sn: customize_jsj_ivleuz
created_time: '2026-02-02 16:33:01'
categories:
- id: '2769851'
name: '11'
tags:
- id: '2769846'
name: 测试1
bg_color: '#1e9fff'
text_color: '#ffffff'
- id: '2769847'
name: '111'
bg_color: '#3e5160'
text_color: '#ffffff'
- id: 2769845
product_name: '1'
recommend: normal
form_sn: customize_jsj_pnzuky
created_time: '2026-02-02 16:22:26'
categories: []
tags: []
total: 3
headers: {}
x-apifox-name: 成功
x-apifox-ordering: 0
security: []
x-apifox-folder: 产品
x-apifox-status: done
x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-414404531-run
components:
schemas: {}
responses: {}
securitySchemes: {}
servers: []
security: []