| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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 updateBindConfig(data) {
- return request({
- url: '/course/playSourceConfig/updateBindConfig',
- method: 'put',
- data: data
- })
- }
- export function updateUnbindConfig(data) {
- return request({
- url: '/course/playSourceConfig/updateUnbindConfig',
- method: 'put',
- data: data
- })
- }
- export function del(id) {
- return request({
- url: '/course/playSourceConfig/' + id,
- method: 'delete'
- })
- }
- export function listAll(companyId) {
- return request({
- url: '/course/playSourceConfig/listAll',
- method: 'get',
- params: {companyId}
- })
- }
|