更新版本库

This commit is contained in:
ajaxfan
2021-01-16 11:29:42 +08:00
parent b42e0c1ddd
commit ff889c3db4
352 changed files with 39993 additions and 15507 deletions

View File

@ -1,11 +1,31 @@
import { isEmpty } from '@/utils/CommonUtils';
/*
* @Author: liqiang
* @Date: 2020-12-14 10:13:59
* @LastEditTime: 2020-12-16 11:36:38
* @LastEditTime: 2020-12-30 16:54:33
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \ebtp-cloud-frontend\src\utils\DownloadUtils.ts
*/
export const downloadAttachmentPath = 'http://192.168.1.103:8760/ebtp-mall-attachment/v1/download/';
/**
* 下载接口路径(bid)
*/
export const downloadAttachmentPath = '/api/core-service-ebtp-updownload/v1/attachment/download/bid/';
/**
* 下载接口路径(oid)
*/
export const downloadAttachmentPathOId = '/api/core-service-ebtp-updownload/v1/attachment/download/oid/';
/**
* 获取上传内容数据
* @param data
*/
export function getUploadContent(data:any){
if(isEmpty(data)){
return data;
}
let file = data.file;
return {
id:file.response.oid,
name:file.name
}
}