Commit ba9c38e8 authored by zhangxiaolin's avatar zhangxiaolin

update

parent 68baa16f
......@@ -66,41 +66,25 @@ paths:
description: An array of price estimates by product
default:
description: Unexpected error
/agreement/detail:
/agreement/<id>:
get:
summary: 协议详情
description: 获得单个协议的详情
parameters:
- name: id
in: query
description: 协议id
required: true
type: integer
format: integer
tags:
- Agreement
responses:
'200':
description: An array of price estimates by product
default:
description: Unexpected error
/agreement/accept:
/agreement/<id>/accept:
post:
summary: 接受协议
description: 医生点击同意协议
parameters:
- name: id
in: formData
description: 协议id
required: true
type: integer
format: integer
tags:
- Agreement
responses:
'200':
description: OK
/agreement/no_accepted_list:
/agreement/no_accepted:
get:
summary: 没有接受的协议列表
description: 直接返回所有还没有接受的协议
......@@ -109,7 +93,7 @@ paths:
responses:
'200':
description: OK
agreement/accepted_list:
/agreement/:
get:
summary: 接受的协议列表
description: 按照分页返回协议列表
......@@ -131,7 +115,7 @@ paths:
responses:
'200':
description: OK
/bulletin/list:
/bulletin:
get:
summary: 公告列表
description: 医生公告列表
......@@ -152,17 +136,10 @@ paths:
content_id: 2
error_code: 0
success: true
/bulletin/detail:
/bulletin/<id>:
get:
summary: 公告详情
description: 医生公告详情
parameters:
- name: id
in: query
description: 协议id
required: true
type: integer
format: integer
tags:
- bulletin
responses:
......@@ -176,7 +153,3 @@ paths:
image: 'http://hera.s.gmei.com/bulletin/2016/03/23/b3e00f8825'
title: 我的第一个公告
content_id: 2
message: ''
error: 0
success: true
error_code: 0
\ No newline at end of file
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