12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import request from '@/utils/request'
- export function list(query) {
- return request({
- url: '/course/playSourceConfig/list',
- method: 'get',
- params: query
- })
- }
- export function get(id) {
- return request({
- url: '/course/playSourceConfig/' + id,
- method: 'get'
- })
- }
- export function add(data) {
- return request({
- url: '/course/playSourceConfig',
- method: 'post',
- data: data
- })
- }
- export function update(data) {
- return request({
- url: '/course/playSourceConfig',
- method: 'put',
- data: data
- })
- }
- export function del(id) {
- return request({
- url: '/course/playSourceConfig/' + id,
- method: 'delete'
- })
- }
- export function listAll() {
- return request({
- url: '/course/playSourceConfig/listAll',
- method: 'get'
- })
- }
|