From 2a7953bfa9b01909c995063eb3c2db493bdf497f Mon Sep 17 00:00:00 2001 From: zhanglei Date: Wed, 25 Mar 2026 13:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E5=A5=97JAVA=E8=84=9A=E6=89=8B?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/vue/api.ts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vue/api.ts.j2 b/templates/vue/api.ts.j2 index 9df1d2a..b1fd6ec 100644 --- a/templates/vue/api.ts.j2 +++ b/templates/vue/api.ts.j2 @@ -62,7 +62,7 @@ export namespace {{entity}}Api { * 上传图片 */ export function upload(params: any) { - return requestClient.post(applicationConfig.javaURL+'/file/up', params, + return requestClient.post(applicationConfig.javaURL+'/file/upImg', params, { headers: {'Content-Type': 'multipart/form-data', Token: useAccessStore().accessToken, version: '1.0.1'}}); }