From c954cdb51f93585b58b761c2663688c36e6b044f Mon Sep 17 00:00:00 2001 From: jihongshun <1151753686@qq.com> Date: 星期五, 15 八月 2025 17:13:54 +0800 Subject: [PATCH] 创建航线新增全局配置 --- src/api/system/device.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/api/system/device.js b/src/api/system/device.js index ff6777f..02634b5 100644 --- a/src/api/system/device.js +++ b/src/api/system/device.js @@ -7,3 +7,13 @@ params: query }); } +export function uploadFile(query) { + return request({ + url: '/upload', + method: 'post', + data: query, + headers: { + 'Content-Type': 'multipart/form-data; ' + } + }); +} -- Gitblit v1.9.3