|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- import request from '@/utils/request'
-
- export function get() {
- return request({
- url: 'api/qiNiuContent/config',
- method: 'get'
- })
- }
-
- export function update(data) {
- return request({
- url: 'api/qiNiuContent/config',
- data,
- method: 'put'
- })
- }
-
- export function download(id) {
- return request({
- url: 'api/qiNiuContent/download/' + id,
- method: 'get'
- })
- }
-
- export function sync() {
- return request({
- url: 'api/qiNiuContent/synchronize',
- method: 'post'
- })
- }
-
- export function del(ids) {
- return request({
- url: 'api/qiNiuContent',
- method: 'delete',
- data: ids
- })
- }
-
- export default { del, download, sync }
|