POST api/Course/SharePicture
查询课程分享图片(说明:小程序端接口)
Request Information
URI Parameters
None.
Body Parameters
参数列表
API_SharePicture| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId |
课程Id |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"courseId": 1
}
Response Information
Resource Description
返状态码: 403:请求不合理,服务器拒绝执行(1、请求参数不正确)... 。404:信息不存在(1、课程信息不存在)... 。200:成功... 。
SharePictureResult| Name | Description | Type | Additional information |
|---|---|---|---|
| sharePicture |
分享图片 |
string |
None. |
| status |
公共返回值: 480:Token无效。 481:请求需要身份验证。 482:身份验证方式不正确。 483:Token已过期。 500:服务器内部错误。 |
integer |
None. |
| msg |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"sharePicture": "sample string 1",
"status": 2,
"msg": "sample string 3"
}