search.md
13.2 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=产品,article=文章
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: 产品列表
article:
type: object
properties:
list:
type: array
items:
type: object
properties:
id:
type: integer
post_title:
type: string
title: 文章标题
post_excerpt:
type: 'null'
title: 文章简介
post_link:
type: string
post_date:
type: string
title: 发布日期
is_favorite:
type: integer
title: 是否收藏
required:
- id
- post_title
- post_excerpt
- post_link
- post_date
- is_favorite
x-apifox-orders:
- id
- post_title
- post_excerpt
- post_link
- post_date
- is_favorite
total:
type: integer
title: 总数
required:
- list
- total
x-apifox-orders:
- list
- total
title: 文章列表
required:
- products
- article
x-apifox-orders:
- products
- article
required:
- code
- msg
- data
x-apifox-orders:
- code
- msg
- data
example: "{\n \"code\": 1,\n \"msg\": 0,\n \"data\": {\n \"products\": {\n \"list\": [\n {\n \"id\": 2769848,\n \"product_name\": \"1111\",\n \"product_description\": \"<p>5564</p>\\r\\n<p>hdye</p>\",\n \"recommend\": \"normal\",\n \"created_time\": \"2026-02-02 16:33:01\",\n \"cover_image\": \"https://cdn.ipadbiz.cn/space_30901/申请提交-生成计划书_FvdRVOS0K-Wmp05ZKHpx64sEXcKQ.png\",\n \"tags\": [\n {\n \"id\": \"2769846\",\n \"name\": \"测试1\",\n \"bg_color\": \"#1e9fff\",\n \"text_color\": \"#ffffff\"\n },\n {\n \"id\": \"2769847\",\n \"name\": \"111\",\n \"bg_color\": \"#3e5160\",\n \"text_color\": \"#ffffff\"\n }\n ],\n \"type\": \"product\"\n },\n {\n \"id\": 2769845,\n \"product_name\": \"1\",\n \"product_description\": null,\n \"recommend\": \"normal\",\n \"created_time\": \"2026-02-02 16:22:26\",\n \"cover_image\": null,\n \"tags\": [],\n \"type\": \"product\"\n }\n ],\n \"total\": 2,\n },\n \"article\": {\n \"list\": [\n {\n \"id\": 3187833,\n \"post_title\": \"宏利電匯付款指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-28 13:50:03\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n },\n {\n \"id\": 3187734,\n \"post_title\": \"Miracle团队完成宏利新产品《牌照專業資格》指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-28 11:33:32\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n },\n {\n \"id\": 3187715,\n \"post_title\": \"为准招募报名IIQE考试指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-28 11:10:20\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 1,\n \"type\": \"article\"\n },\n {\n \"id\": 3185818,\n \"post_title\": \"TTPS、IANG续签指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-26 14:30:40\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n },\n {\n \"id\": 3185673,\n \"post_title\": \"CEO\_Profile入职指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-26 14:07:32\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n },\n {\n \"id\": 3185672,\n \"post_title\": \"Millionaire\_Profile入职指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-26 14:04:50\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n },\n {\n \"id\": 3185667,\n \"post_title\": \"IANG Profile入职指引\",\n \"post_excerpt\": null,\n \"post_link\": \"\",\n \"post_date\": \"2026-02-26 13:44:30\",\n \"open_num\": null,\n \"file_sn\": null,\n \"is_favorite\": 0,\n \"type\": \"article\"\n }\n ],\n \"total\": 7\n }\n }\n}\n"
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: []