You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
793 B
41 lines
793 B
import request from '@/utils/request'
|
|
export function fetchList(params) {
|
|
return request({
|
|
url:'/home/recommendSubject/list',
|
|
method:'get',
|
|
params:params
|
|
})
|
|
}
|
|
|
|
export function updateRecommendStatus(data) {
|
|
return request({
|
|
url:'/home/recommendSubject/update/recommendStatus',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
|
|
export function deleteHomeSubject(data) {
|
|
return request({
|
|
url:'/home/recommendSubject/delete',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
|
|
export function createHomeSubject(data) {
|
|
return request({
|
|
url:'/home/recommendSubject/create',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
|
|
export function updateHomeSubjectSort(params) {
|
|
return request({
|
|
url:'/home/recommendSubject/update/sort/'+params.id,
|
|
method:'post',
|
|
params:params
|
|
})
|
|
}
|