Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
c0328782
Commit
c0328782
authored
Feb 14, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4e7bf32a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
0 deletions
+93
-0
模拟电话.md
callmanage/模拟电话.md
+93
-0
通话记录.md
callmanage/通话记录.md
+0
-0
No files found.
callmanage/模拟电话.md
0 → 100644
View file @
c0328782
#### 模拟电话-测试
#### 模拟电话-测试
URL: {基本地址}/call/test
METHOD: POST
Headers:
| key | value |
| :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 |
| Authorization | 用户TOKEN |
RequestBody:
```
json
{
"taskId"
:
9
,
//
任务ID
"teleNickname"
:
"马"
,
//
电话人名
"teleSex"
:
"男"
,
//
电话人性别
"telePost"
:
"地球修理员"
,
//
电话人职业
"teleLocation"
:
"青海"
,
//
电话人所在地
"teleNumber"
:
"13009633593"
//
电话人号码
}
```
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
Example:
```
curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/call/test' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTkRRNE1EUTROVGdzSW1WNGNDSTZNVFkwTkRnNU1USTFPQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TW4wLlFQcUZpS0VyQllxb0QtS051cDh2WGE1dWp2cXExZDRWZUJKcGNmbnZfMVk6czAwcGVyczNjcmV0' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId":9,
"teleNickname":"马",
"teleSex":"男",
"telePost":"地球修理员",
"teleLocation":"青海",
"teleNumber":"13009633593"
}'
```
#### 模拟电话-获取通话记录
URL: {基本地址}/all/by_cur_user
METHOD: POST
Headers:
| key | value |
| :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 |
| Authorization | 用户TOKEN |
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
[
{
"diaTimeLen"
:
100
,
//
对话时长
"location"
:
"新疆 昌吉"
,
//
地点
"teleNumber"
:
"13009633593"
,
//
电话号码
"id"
:
1
//
记录ID
}
]
}
```
Example:
```
curl --location --request POST 'http://hw-gz59.heyqiwu.cn:60011/call/test' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTkRRNE1EUTROVGdzSW1WNGNDSTZNVFkwTkRnNU1USTFPQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TW4wLlFQcUZpS0VyQllxb0QtS051cDh2WGE1dWp2cXExZDRWZUJKcGNmbnZfMVk6czAwcGVyczNjcmV0' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId":9,
"teleNickname":"马",
"teleSex":"男",
"telePost":"地球修理员",
"teleLocation":"青海",
"teleNumber":"13009633593"
}'
```
\ No newline at end of file
callmanage/通话记录.md
View file @
c0328782
This diff is collapsed.
Click to expand it.
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