Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
api_document
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
backend
api_document
Commits
af79b959
Commit
af79b959
authored
Aug 29, 2016
by
zhangxiaolin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.gengmei.cc:backend/api_document
parents
a95ee25a
1c2aa797
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
203 additions
and
0 deletions
+203
-0
ascle.yaml
ascle.yaml
+38
-0
kefu.yaml
kefu.yaml
+165
-0
No files found.
ascle.yaml
View file @
af79b959
...
@@ -1022,6 +1022,44 @@ paths:
...
@@ -1022,6 +1022,44 @@ paths:
online_time
:
1458730446
online_time
:
1458730446
message
:
'
'
message
:
'
'
error
:
0
error
:
0
/service/register/{register_id}
:
get
:
summary
:
上传美购
description
:
拉下医生曾经上传美购数据
parameters
:
-
name
:
register_id
in
:
path
description
:
上传美购ID
required
:
True
type
:
integer
format
:
integer
tags
:
-
Service
response
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
comment
:
'
[玻尿酸注射]
这是一个美购的信息'
start_time
:
134949595
end_time
:
1433442234
reservation
:
3
total_num
:
30
image_header
:
'
http://...'
photo_details
:
'
blabla...'
special_permit
:
false
items
:
'
[{},
#json序列化化的数据]
{
tag_ids:
[1,3,4],
market_price:
11223,
gengmei_price:
12233,
is_online:
true
}'
# ------------------------
# ------------------------
/search/topic
:
/search/topic
:
get
:
get
:
...
...
kefu.yaml
0 → 100644
View file @
af79b959
swagger
:
'
2.0'
info
:
title
:
客服 API
version
:
1.0.0
host
:
doctor.hotfix.gengmei.cc
schemes
:
-
http
basePath
:
/api/web
paths
:
/entry/question
:
get
:
summary
:
分组常见问题
description
:
分组常见问题
tags
:
-
Entry
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
-
id
:
"
05e12400315442f8995dcdf588cf87bc"
name
:
'
空分组'
sort
:
4
questions
:
-
id
:
"
59852826f91c42a9975d1e6a347f0301"
order
:
100
question
:
"
1*2*3*4*5=?"
answer
:
"
5!"
created_time
:
1471861749771.449
post
:
summary
:
创建常见问题
description
:
创建常见问题
parameters
:
-
name
:
entry_id
in
:
formData
description
:
分组名称
required
:
true
type
:
string
format
:
string
-
name
:
question
in
:
formData
description
:
问题
required
:
true
type
:
string
format
:
string
-
name
:
answer
in
:
formData
description
:
分组名称
required
:
true
type
:
string
format
:
string
tags
:
-
Entry
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
id
:
"
59852826f91c42a9975d1e6a347f0301"
order
:
100
question
:
"
1*2*3*4*5=?"
answer
:
"
5!"
created_time
:
1471861749771.449
/entry/question/{question_id}/delete
:
post
:
summary
:
删除分组常见问题
description
:
删除分组常见问题
parameters
:
-
name
:
question_id
in
:
path
description
:
问题ID
required
:
true
type
:
string
format
:
string
tags
:
-
Entry
responses
:
'
200'
:
description
:
OK
/transfer/entry/{entry_id}
:
post
:
summary
:
转接分组
description
:
把用户转接到某个分组
parameters
:
-
name
:
entry_id
in
:
path
description
:
分组ID
required
:
true
type
:
string
format
:
string
-
name
:
user_person_id
in
:
formData
description
:
用户person_id
required
:
true
type
:
string
format
:
string
tags
:
-
Entry
responses
:
'
200'
:
description
:
OK
/conversation/create
:
post
:
summary
:
客服主动发起会话
description
:
客服从留言区主动发起会话
parameters
:
-
name
:
user_person_id
in
:
formData
description
:
用户person_id
required
:
true
type
:
string
format
:
string
tags
:
-
Conversation
responses
:
'
200'
:
description
:
OK
/kefu_response
:
get
:
summary
:
客服自动回复
description
:
客服自动回复, category 见 gm-types/zeus/types#KEFU_RESPONSE
tags
:
-
Response
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
-
id
:
"
05e12400315442f8995dcdf588cf87bc"
category
:
1
content
:
'
客服忙
请稍后欢迎来到更美客服欢迎来到更美客服欢迎来到更美客服'
minute
:
6
enable
:
true
post
:
summary
:
创建常见问题
description
:
创建常见问题
parameters
:
-
name
:
settings
in
:
formData
description
:
json字符串,格式同get
required
:
true
type
:
string
format
:
string
tags
:
-
Response
responses
:
'
200'
:
description
:
OK
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment