From 02c7f70cbe8c4009a24768bf357a8ec1b2860be7 Mon Sep 17 00:00:00 2001 From: caixiaofeng <1941338475@qq.com> Date: Wed, 31 Jan 2024 10:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/modules/model.ts b/src/api/modules/model.ts index 5df6a55..e5bd429 100644 --- a/src/api/modules/model.ts +++ b/src/api/modules/model.ts @@ -2,9 +2,9 @@ import http from '~/api/index' import FileSaver from "file-saver"; export const downloadXml = async (data: object) => { - const res = await http.download('https://www.666cxf.com/stage-api/workflow/model/download', data) + const res = await http.download('https://www.666cxf.com/api/workflow/model/download', data) FileSaver.saveAs( new Blob([res], { type: 'application/octet-stream;charset=utf-8' }), '测试流程.bpmn20.xml' ) -} \ No newline at end of file +}