feat: release
This commit is contained in:
@@ -6,6 +6,8 @@ import {
|
||||
createTracking,
|
||||
} from "@/api/system";
|
||||
|
||||
export const FILE_BASE_URL = "https://file.lihailezzc.com/";
|
||||
|
||||
export const generateObjectId = (
|
||||
m = Math,
|
||||
d = Date,
|
||||
@@ -29,8 +31,7 @@ export const uploadImage = (filePath) => {
|
||||
if (keyJson?.data?.result === "auditFailed") {
|
||||
reject("图片不符合发布规范,请稍作修改后再试");
|
||||
} else {
|
||||
const url = `https://file.lihailezzc.com/${keyJson?.data.key}`;
|
||||
resolve(url);
|
||||
resolve(keyJson?.data.key);
|
||||
}
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
|
||||
Reference in New Issue
Block a user