1. 推广员功能增强
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

This commit is contained in:
李琦
2026-06-18 13:49:06 +08:00
parent f36ef45ee2
commit d9db629c5d
2 changed files with 13 additions and 2 deletions

View File

@@ -58,6 +58,13 @@ export async function getOssSignature() {
return requestClient.get('/upload/oss-signature');
}
/**
* OSS 直传成功后登记 xk_file
*/
export async function registerOssFile(data: { url: string; type?: number; source?: number }) {
return requestClient.post('/upload/register-oss-file', data);
}
/**
* 通过文件id集合获取文件信息
*