You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tianze-pro/httpTest/TeacherOpenCourse.http

21 lines
845 B
Plaintext

### 课程开课
POST {{baseURL}}/jlw/teacherOpenCourse/add.json
Content-Type: application/x-www-form-urlencoded
Cookie: JSESSIONID={{session}}
teacherId=2&teacherOpenCourseTitle={{$randomInt}}&teacherOpenCourseCode={{$randomInt}}&teacherOpenCourseCover=http://baidu.com&startTime=2022-09-12&endTime=2022-10-12
### 禁用开课的课程
POST {{baseURL}}/jlw/teacherOpenCourse/edit.json
Content-Type: application/x-www-form-urlencoded
Cookie: JSESSIONID={{session}}
# 打开开课的课程 teacherOpenCourseStatus=1
teacherOpenCourseId=1569699665614643200&teacherOpenCourseStatus=2
### 排课列表
POST {{baseURL}}/jlw/teacherOpenCourse/edit.json
Content-Type: application/x-www-form-urlencoded
Cookie: JSESSIONID={{session}}
# 打开开课的课程 teacherOpenCourseStatus=1
teacherOpenCourseId=1569699665614643200&teacherOpenCourseStatus=2