search.md
13.5 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: search
schema:
type: string
- name: t
in: query
description: ''
required: false
example: icon
schema:
type: string
- name: keyword
in: query
description: ''
required: false
schema:
type: string
- name: type
in: query
description: product=产品,file=文档
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:
products:
type: object
properties:
list:
type: array
items:
type: object
properties:
id:
type: integer
title: 产品id
product_name:
type: string
title: 产品名
product_description:
type: string
title: 产品描述
nullable: true
recommend:
type: string
title: 推荐位
description: normal-普通, hot-热卖
created_time:
type: string
title: 创建时间
cover_image:
type: string
title: 封面图
nullable: true
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: 产品标签
type:
type: string
form_sn:
type: string
title: 表单类型
required:
- id
- product_name
- product_description
- recommend
- created_time
- cover_image
- tags
- type
- form_sn
x-apifox-orders:
- id
- product_name
- product_description
- recommend
- created_time
- cover_image
- form_sn
- tags
- type
total:
type: integer
title: 产品总数
required:
- list
- total
x-apifox-orders:
- list
- total
title: 产品列表
files:
type: object
properties:
list:
type: array
items:
type: object
properties:
id:
type: integer
title: 附件id
name:
type: string
title: 附件名
value:
type: string
title: 附件地址
extension:
type: string
title: 附件类型
post_date:
type: string
title: 发布时间
size:
type: string
title: 附件大小
is_favorite:
type: integer
title: 是否收藏
type:
type: string
required:
- id
- name
- value
- extension
- post_date
- size
- is_favorite
- type
x-apifox-orders:
- id
- name
- value
- extension
- post_date
- size
- is_favorite
- type
total:
type: integer
title: 附件数
required:
- list
- total
x-apifox-orders:
- list
- total
title: 文件列表
required:
- products
- files
x-apifox-orders:
- products
- files
required:
- code
- msg
- data
x-apifox-orders:
- code
- msg
- data
example: |-
{
"code": 1,
"msg": 0,
"data": {
"products": {
"list": [
{
"id": 2769848,
"product_name": "1111",
"product_description": "<p>5564</p>\r\n<p>hdye</p>",
"recommend": "normal",
"created_time": "2026-02-02 16:33:01",
"cover_image": "https://cdn.ipadbiz.cn/space_30901/申请提交-生成计划书_FvdRVOS0K-Wmp05ZKHpx64sEXcKQ.png",
"tags": [
{
"id": "2769846",
"name": "测试1",
"bg_color": "#1e9fff",
"text_color": "#ffffff"
},
{
"id": "2769847",
"name": "111",
"bg_color": "#3e5160",
"text_color": "#ffffff"
}
],
"type": "product"
},
{
"id": 2769845,
"product_name": "1",
"product_description": null,
"recommend": "normal",
"created_time": "2026-02-02 16:22:26",
"cover_image": null,
"tags": [],
"type": "product"
}
],
"total": 2,
},
"files": {
"list": [
{
"id": 2769815,
"name": "9751dd823b7542d78fa7bde615a43ba1",
"value": "https://cdn.ipadbiz.cn/space_30901/9751dd823b7542d78fa7bde615a43ba1_Fsm43FPaZOwKc5pwbxhk-h2zUUsu.png",
"extension": "png",
"post_date": "2026-01-13 11:26:07",
"size": "0 B",
"is_favorite": 0,
"type": "file"
},
{
"id": 2769814,
"name": "微信图片_2026-01-12_173653_750",
"value": "https://cdn.ipadbiz.cn/space_30901/微信图片_2026-01-12_173653_750_Fuu11vu9Zp5B626kEbWE62vQLeA7.png",
"extension": "png",
"post_date": "2026-01-13 11:26:07",
"size": "0 B",
"is_favorite": 0,
"type": "file"
},
{
"id": 2769811,
"name": "微信图片_2026-01-12_173913_253",
"value": "https://cdn.ipadbiz.cn/space_30901/微信图片_2026-01-12_173913_253_FoQoABNxtf4dB2vKLD-Eke8Tsgu5.png",
"extension": "png",
"post_date": "2026-01-13 11:25:47",
"size": "0 B",
"is_favorite": 0,
"type": "file"
},
{
"id": 2768696,
"name": "123222",
"value": "https://cdn.ipadbiz.cn/space/30901/4c2ab735c6996a89d7c423bf428a1748.png",
"extension": "png",
"post_date": "2025-10-30 18:30:28",
"size": "0 B",
"is_favorite": 0,
"type": "file"
}
],
"total": 4,
}
}
}
headers: {}
x-apifox-name: 成功
x-apifox-ordering: 0
security: []
x-apifox-folder: ''
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/7792797/apis/api-416069509-run
components:
schemas: {}
responses: {}
securitySchemes: {}
servers:
- url: https://manulife.onwall.cn
description: 正式环境
security: []