文档
测试

查看课程总体基本信息

GET
localhost:88/api/course/spuinfo/info/details/{courseId}

接口描述

查看某课程的基本信息

请求参数

参数名
类型
描述
必填
courseId
Long
课程id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
page
object
数据字典
必填
totalCount
int
示例:2
必填
pageSize
int
示例:10
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
id
int
示例:1
必填
spuName
string
示例:母猪的产后护理
必填
username
string
示例:sgl
必填
catalog
string
示例:其他/其他/其他
必填
school
string
示例:网易课程
必填
publishStatus
int
示例:1
必填
createTime
string
示例:1970-01-01 00:00:00
必填
updateTime
string
示例:1970-01-01 00:00:00
必填
defaultImg
object
示例:null
必填

说明 / 示例

```json { "msg": "success", "code": 0, "spuInfo": { "id": 1, "spuName": "测试课程哦", "username": "sgl", "spuDescription": "测试课程哦", "catalog": "其他/其他/其他", "school": "网易课程", "schoolLogo": "https://yunketang233.oss-cn-beijing.aliyuncs.com/2021-08-03/e6af9ef4-600a-4869-8df3-2ad98134aba9_8.jpg", "coursePersistent": "000000", "publishStatus": 1, "createTime": "2021-07-15 00:00:00", "updateTime": "2021-07-16 00:00:00", "defaultImg": null, "images": [] } } ```