api/common.js
@@ -36,6 +36,17 @@ } /** * 获取文件访问地址 */ export function getFilePreviewUrl(fileKey) { return http.request({ url: `${api.common}/lmk/file/preview`, method: Method.POST, data: {fileKey: fileKey} }); } /** * 文件上传地址 * @type {string} */