fix: 修复 BangDream 动态引用生产路径
This commit is contained in:
parent
21d9b98701
commit
0273493ab4
@ -268,7 +268,7 @@ export class EventDataRepository {
|
||||
if (rewardId === undefined) return undefined;
|
||||
|
||||
const { bangDreamMainDataRepository } = await import(
|
||||
'@/qqbot/plugins/bangDream/shared/main-data.repository'
|
||||
'../shared/main-data.repository'
|
||||
);
|
||||
const allDeco = bangDreamMainDataRepository.getCollection<
|
||||
Record<string, any>
|
||||
|
||||
@ -34,7 +34,7 @@ async function defaultAssetClient(
|
||||
options: BangDreamAssetRequestOptions = {},
|
||||
): Promise<Buffer> {
|
||||
const { downloadFile, downloadFileCache } = await import(
|
||||
'@/qqbot/plugins/bangDream/provider/asset-cache.client'
|
||||
'./asset-cache.client'
|
||||
);
|
||||
const ignoreError = options.ignoreError ?? true;
|
||||
if (options.memoryCache === false || options.overwrite) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user