修复迁移后错误

This commit is contained in:
万物街
2025-09-11 22:06:19 +08:00
parent 7a20a0c50a
commit 6a3b302e69
193 changed files with 11792 additions and 1268 deletions

View File

@@ -0,0 +1,18 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class DiyConfigService {
async getPage(query: any) { return { items: [], total: 0 }; }
async getInfo(queryOrId: any) { return { id: 1, ...queryOrId }; }
async add(data: any) { return { id: 1, ...data }; }
async edit(id: number, data: any) { return { id, ...data }; }
async delete(id: number) { return { success: true }; }
async setConfig(data: any) { return { success: true }; }
async batchSetConfig(configs: any[]) { return { success: true, count: configs.length }; }
async getTypes() { return []; }
async resetConfig(key: string) { return { success: true }; }
async exportConfig(query: any) { return { items: [] }; }
async importConfig(data: any) { return { success: true }; }
}