talk_appAmin/api/qiniu/info.js

38 lines
671 B
JavaScript
Raw Normal View History

2024-05-24 23:20:46 +08:00
import request from '@/utils/request'
// 查询字典数据列表
export function listData(query) {
return request({
url: '/system/dict/data/list',
method: 'get',
params: query
})
}
// 新增文件列表
export function addFileList(data) {
return request({
url: '/system/fileList',
method: 'post',
data: data
})
}
// 修改字典数据
export function updateData(data) {
return request({
url: '/system/dict/data',
method: 'put',
data: data
})
}
//获取七牛文件上传token
export function getQNtoken(data) {
return request({
url: '/qiniufile/getQNtoken',
method: 'post',
data: data
})
}