Commit 1ae2f504 authored by zhangxiaolin's avatar zhangxiaolin

for 美购 私信

parent 0bd1b1d3
......@@ -1627,6 +1627,10 @@ paths:
text: "干嘛"
send_time: 113345455
doctor_id: ""
centent: # 根据不同的type返回的字段不一样,比如0只有text
id: 美购id
name: 美购名称
gengmei_price: 480
post:
summary: 回复私信
description: 回复私信
......@@ -1641,7 +1645,7 @@ paths:
format: integer
- name: type
in: formData
description: 回复类型, 填 0, 表示文字,语音图像什么的以后再说
description: 回复类型,TEXT = ('0', '文字')AUDIO = ('1', '语音')IMAGE = ('2', '图片')SERVICE = ('3', '美购详情')
required: true
type: integer
format: integer
......@@ -1655,6 +1659,34 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ""
data:
msg:
type: '3'
send_time: 1479306204
content: # 根据type不一样内容也不一样,这是美购的
text: ...
service_info:
text: 光子嫩肤低至480
title: 在[更美]做整形优惠又放心
url: gengmei://service?service_id=123
image: http://hera.s.gmei.com/service/2014/12/12/c141725f12
id: 123
gengmei_price: 480
uid: 602329
id: 3637029
doctor_id: wangyang
conversation_user_ids:
- 3248
- 602329
reply_time: 1479306204
msg_id: 3637029
# ------------------------
/conversation/{conversation_id}/sink:
post:
......
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