管理员解锁、取消课程
儿童编程
解锁课程
Method and URL Structure
Method |
Resource URL |
Authorization |
POST |
/program_face2face/course/unlock_course_admin/ |
YES |
Request Data
Name |
Description |
Required |
Default |
username |
用户名 |
YES |
|
course |
课程 id |
YES |
|
Request Parameter
{
"username": "18512345678"
"course": 123
}
cURL Example
curl -X POST --data '{..}'
http://localhost/program_face2face/course/unlock_course_admin/
JSON Response
{
"message": "",
"code": ""
}
取消解锁
Method and URL Structure
Method |
Resource URL |
Authorization |
POST |
/program_face2face/course/cancel_unlock_course/ |
YES |
Request Data
Name |
Description |
Required |
Default |
username |
用户名 |
YES |
|
course |
课程 id |
YES |
|
Request Parameter
{
"username": "18512345678"
"course": 123
}
cURL Example
curl -X POST --data '{..}'
http://localhost/program_face2face/course/cancel_unlock_course/
JSON Response
{
"message": "",
"code": ""
}