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
b21f865f
Commit
b21f865f
authored
Aug 10, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9d64d928
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
邀请模块.md
jiaoyou_tongyong/邀请模块.md
+66
-0
No files found.
jiaoyou_tongyong/邀请模块.md
0 → 100644
View file @
b21f865f
-
BaseUrl
-
BaseUrl
-
测试环境: http://api-pre.heyqiwu.cn:48081
#### 用户邀请记录
URL: {BaseUrl}/invite/record
METHOD: POST
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret+":"+timestamp 字符串md5提取摘要 |
| App-Channel-Id | 渠道ID |
RequestBody:
```
json
{
"workName"
:
"小狗小白"
,
//
作品名称
"inviteUid"
:
"123"
,
//
邀请人ID
"invitedUid"
:
"345"
//
被邀请人ID
}
```
ResponseBody:
```
json
{
"code"
:
1
,
//
1
成功;
其他状态码
失败
"msg"
:
"成功"
,
//
提示信息
"encrypt"
:
0
,
//
0
表示不解密
,
1
表示解密
"data"
:
null
//
响应的数据
}
```
RequestExample
```
curl --location --request POST 'http://api-pre.heyqiwu.cn:48081/invite/record' \
--header 'App-Channel-Id: tongyong-phone-mobileapp-test1' \
--header 'Timestamp: 1660116039438' \
--header 'Authorization: e246031304af17af07882a622ac3f5ce' \
--header 'Content-Type: application/json' \
--data-raw '{
"workName":"小狗小白",
"inviteUid":"123",
"invitedUid":"345"
}'
```
ResponseExample
```
{
"code": 1,
"msg": "成功",
"encrypt": 0,
"data": null
}
```
\ No newline at end of file
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