diff --git a/src/api/upload.ts b/src/api/upload.ts index df1be7b2..4ae19c7c 100644 --- a/src/api/upload.ts +++ b/src/api/upload.ts @@ -4,14 +4,14 @@ class UploadAPI { /** 分类查询接口*/ static getTree() { return request({ - url: `diyapi/attachmentcategory`, + url: `attachmentapi/attachmentcategory`, method: 'post', }); } /** 分类新增,修改接口 */ static saveTree(data: any) { return request({ - url: `diyapi/attachmentcategorysave`, + url: `attachmentapi/attachmentcategorysave`, method: 'post', data, }); @@ -19,7 +19,7 @@ class UploadAPI { /** 分类删除接口 */ static delTree(data: any) { return request({ - url: `diyapi/attachmentcategorydelete`, + url: `attachmentapi/attachmentcategorydelete`, method: 'post', data, }); @@ -27,7 +27,7 @@ class UploadAPI { /** 附件移动分类 */ static moveTree(data: any) { return request({ - url: `diyapi/attachmentmovecategory`, + url: `attachmentapi/attachmentmovecategory`, method: 'post', data, }); @@ -36,7 +36,7 @@ class UploadAPI { // 附件列表 static getAttachmentList(data: any) { return request({ - url: `diyapi/attachmentlist`, + url: `attachmentapi/attachmentlist`, method: 'post', data, }); @@ -44,7 +44,7 @@ class UploadAPI { // 附件名称修改 static saveAttachmentName(data: any) { return request({ - url: `diyapi/attachmentsave`, + url: `attachmentapi/attachmentsave`, method: 'post', data, }); @@ -52,7 +52,7 @@ class UploadAPI { // 附件删除 static delAttachment(data: any) { return request({ - url: `diyapi/attachmentdelete`, + url: `attachmentapi/attachmentdelete`, method: 'post', data, }); @@ -60,7 +60,7 @@ class UploadAPI { // 附件上传 static uploadAttachment(data: any, progress: any) { return request({ - url: `diyapi/attachmentupload`, + url: `attachmentapi/attachmentupload`, method: 'post', data, headers: { @@ -72,7 +72,7 @@ class UploadAPI { // 扫码上传 static uploadQrcode(data: any) { return request({ - url: `diyapi/attachmentscanuploaddata`, + url: `attachmentapi/attachmentscanuploaddata`, method: 'post', data, }); @@ -80,7 +80,7 @@ class UploadAPI { // 提取链接 --------附件远程下载 static getAttachmentCatch(data: any) { return request({ - url: `diyapi/attachmentcatch`, + url: `attachmentapi/attachmentcatch`, method: 'post', data, }); diff --git a/src/views/layout/components/navbar/index.vue b/src/views/layout/components/navbar/index.vue index 1147dfd8..aa2608ab 100644 --- a/src/views/layout/components/navbar/index.vue +++ b/src/views/layout/components/navbar/index.vue @@ -23,7 +23,7 @@