Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JiangTengfei
2015-12-29 16:18:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c4ae0bb7c175a79db5400a0ef1a4074760e0a6cf
c4ae0bb7
1 parent
866c141b
Updated 老师课程推荐 老师端 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
老师课程推荐-老师端.md
老师课程推荐-老师端.md
View file @
c4ae0bb
...
...
@@ -14,29 +14,38 @@ GET参数:
```
json
{
"
day
"
:
[
"
course_date
"
:
[
{
"2015-10-19"
:
2
"date"
:
"2015-12-25"
,
"count"
:
1
},
{
"2015-10-08"
:
7
"date"
:
"2015-12-08"
,
"count"
:
1
},
{
"2015-09-26"
:
2
},
{
"2015-09-24"
:
1
},
{
"2015-09-21"
:
14
},
{
"2015-08-31"
:
11
"date"
:
"2015-11-07"
,
"count"
:
1
}
]
],
"link"
:
"<http://192.168.0.104:3200/course/recommend/teacher/date?page=1>;rel=\"next\""
}
```
Response
```
json
Access-Control-Allow-Headers
→
x-be-product,Content-Type
Access-Control-Allow-Methods
→
GET,
HEAD,
POST,
PUT,
DELETE,
TRACE,
OPTIONS,
PATCH
Access-Control-Allow-Origin
→
*
Access-Control-Expose-Headers
→
Link
Content-Length
→
869
Content-Type
→
application/json;charset=UTF
-8
Date
→
Tue,
29
Dec
2015
08
:
14
:
11
GMT
ETag
→
"0ebc3b9f5ba30966a4a65f0ce86a6c957"
Link
→
<http://
192.168
.
0.104
:
3200
/course/recommend/teacher/date?page=
1
>;rel=
"next"
Server
→
Apache-Coyote/
1.1
```
#根据日期显示老师推荐的课程 - 老师端
接口地址: /course/recommend/teacher/date/{date}
...
...
Please
register
or
login
to post a comment