### GET /course/{code} * method: GET * version: v1.0 * describe: 获取单个课程 ##### 参数说明 |name |type| null | desc | |---- |:---|:---|:----:| | code | string | no | 编码 | ##### 返回字段说明 | name | type | desc | |------|:-----|:----:| | id | int | 课id | | code | string | 编码 | | name | string | 名称 | | digest| string | 描述 | | tags | array | 标签名数组 | | subItemList | array | 课数组 | | cpId| int | 内容提供商id | | cpName| string | 内容提供商名字 | | state| int| 状态 | | gmtCreated|int | 创建时间 | | gmtModified|int|修改时间| ##### 结果示例 ``` { "code": 200, "success": true, "message": null, "data": { "id": 1511767193919357, "code": "C-test-311", "name": "小学310", "title": null, "digest": null, "detail": null, "keyword": null, "cvImgIds": null, "bgImgIds": null, "status": "NORMAL", "gmtCreated": null, "gmtModified": null, "subItemList": [ { "id": 1511509291305739, "code": "K-test-311", "name": "小学310", "digest": null, "type": "LESSON", "status": null, "gmtCreated": null, "gmtModified": null }, { "id": 1511504034666794, "code": "K-test-310", "name": "小学310", "digest": null, "type": "LESSON", "status": null, "gmtCreated": null, "gmtModified": null } ] } } ```