修改上传接口

prod
吕天方 9 months ago
parent 476f49d19b
commit 7620456586

@ -76,7 +76,7 @@ export function exportData(data) {
// 上传单个文件
export function uploadFile(data) {
return request({
url: '/file/upload',
url: "/common/upload",
method: 'post',
data: data,
headers: {

@ -1,11 +1,3 @@
/*
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2024-04-09 16:55:04
* @LastEditors: JC9527
* @LastEditTime: 2024-04-09 17:21:46
*/
import request from '@/utils/request'
// 查询企业名录列表
@ -75,7 +67,7 @@ export function getTemplateRecord(query) {
// 上传单个文件
export function uploadFile(data) {
return request({
url: process.env.VUE_APP_BASE_API + "/common/upload",
url: "/common/upload",
method: 'post',
data: data,
// headers: {

@ -48,7 +48,7 @@ export function approvalEdit(data) {
// 上传单个文件
export function uploadFile(data) {
return request({
url: '/file/upload',
url: '/common/upload',
method: 'post',
data: data,
headers: {

@ -50,7 +50,7 @@ export function downloadData(data) {
// 上传单个文件
export function uploadFile(data) {
return request({
url: '/file/upload',
url: '/common/upload',
method: 'post',
data: data,
// headers: {

Loading…
Cancel
Save