12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- import request from '@/utils/request'
- //
- // GET
- // /prod-api/front/homework/getHomeworks
- // 01 查询作业模板
- export function getHomeworks(params) {
- return request({
- url: '/front/homework/getHomeworks',
- method: 'get',
- params
- })
- }
- //
- // GET
- // /prod-api/front/homework/getStudentHomeworks
- // 01 查询学生作业列表
- export function getStudentHomeworks(params) {
- return request({
- url: '/front/homework/getStudentHomeworks',
- method: 'get',
- params
- })
- }
- //
- // GET
- // /prod-api/front/homework/getTeacherHomeworks
- // 01 查询老师发布作业列表
- export function getTeacherHomeworks(params) {
- return request({
- url: '/front/homework/getTeacherHomeworks',
- method: 'get',
- params
- })
- }
- //
- // GET
- // /prod-api/front/homework/getHomeworkStudents
- // 01 查询作业的学生列表
- export function getHomeworkStudents(params) {
- return request({
- url: '/front/homework/getHomeworkStudents',
- method: 'get',
- params
- })
- }
- //
- // POST
- // /prod-api/front/homework/publicStudentHomework
- // 01 发布学生作业
- export function publicStudentHomework(data) {
- return request({
- url: '/front/homework/publicStudentHomework',
- method: 'post',
- data
- })
- }
- //
- // POST
- // /prod-api/front/homework/saveHomeworks
- // 01 保存作业模板
- export function saveHomeworks(data) {
- return request({
- url: '/front/homework/saveHomeworks',
- method: 'post',
- data
- })
- }
|