-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
### 点赞/取消点赞评论 | ||
|
||
点赞或取消点赞评论 | ||
|
||
#### 请求地址 | ||
|
||
> /comment_like_update | ||
#### 请求方式 | ||
|
||
> POST | ||
#### 支持格式 | ||
|
||
> JSON | ||
#### 请求头 | ||
|
||
| 参数 | 必填 | 类型 | 说明 | | ||
| :------------------ | :--- | :----- | ------------------- | | ||
| x-jike-access-token | true | string | x-jike-access-token | | ||
|
||
#### 请求参数 | ||
|
||
| 参数 | 必填 | 类型 | 说明 | | ||
| :---- | :--- | :------ | ----------------------------------------- | | ||
| id | true | string | 评论 id | | ||
| liked | true | boolean | **true** 为点赞,**false** 为**取消点赞** | | ||
|
||
#### 返回字段 | ||
|
||
无 | ||
|
||
|
||
#### 示例 | ||
|
||
> 地址:https://www.example.com/comment_like_update | ||
参数 | ||
|
||
```javascript | ||
{ | ||
"id": "66229567e14d49b402c9e7de", | ||
"liked": true | ||
} | ||
``` | ||
|
||
响应 | ||
|
||
```javascript | ||
{ | ||
"code": 200, | ||
"data": {}, | ||
"msg": "OK" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
|
||
```javascript | ||
{ | ||
"cateory": "HOT", | ||
"category": "HOT", | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters