Commit 677576e8 authored by zhangxiaolin's avatar zhangxiaolin

update, 搜索分页

parent 9b4bc835
...@@ -928,52 +928,6 @@ paths: ...@@ -928,52 +928,6 @@ paths:
- name: 选项 - name: 选项
id: 选项id id: 选项id
# ------------------------ # ------------------------
/service/search:
get:
summary: 搜索美购列表
description: 两类,分审核未通过的列表和已通过的列表
parameters:
- name: type
in: query
description: 标识是那种类型,0是不通过的,1是通过的
required: true
type: integer
format: integer
- name: q
in: query
description: 过滤关键词,必须要,不能为空
required: true
type: string
format: string
tags:
- Service
responses:
'200':
description: OK
schema: {}
examples:
application/json:
message: ''
error: 0
data:
- total_count: 10
services:
- name: 美购描述
id: 21
submit_time: 提交时间
status: 状态码,int
- total_count: 10
services:
- name: 美购描述
id: 21
submit_time: 提交时间
status: 状态码,int
- total_count: 10
services:
- name: 美购描述
id: 21
submit_time: 提交时间
status: 状态码,int
# ------------------------ # ------------------------
/service/status: /service/status:
post: post:
...@@ -1014,6 +968,12 @@ paths: ...@@ -1014,6 +968,12 @@ paths:
required: true required: true
type: integer type: integer
format: integer format: integer
- name: q
in: query
description: 过滤关键词,默认不过滤
required: false
type: string
format: string
- name: ask_all_counts - name: ask_all_counts
in: query in: query
description: 是否需要全部的数字,默认不需要,传true or false description: 是否需要全部的数字,默认不需要,传true or false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment