refactor(services): 重构服务模块导入和文件重命名功能
- 移除 services/__init__.py 中的所有服务导入导出 - 将各个蓝图中的通配符导入改为具体服务模块导入 - 将 files_rename 函数重命名为 file_rename 并更新相关引用 - 更新前端 API 调用中的函数名映射 - 修复视频蓝图中的多余空行问题 - 移除种子蓝图中的未使用路由代码
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import {ref, onUnmounted} from "vue";
|
||||
import {
|
||||
files_rename,
|
||||
file_rename,
|
||||
music_rename,
|
||||
image_hasTorrent,
|
||||
video_hasTorrent,
|
||||
@@ -30,7 +30,7 @@ const messages = ref<messageItem[]>([{id: Date.now(), text: '输出结果'}])
|
||||
|
||||
const buttons = [
|
||||
{id: 0, title: "小说下载"},
|
||||
{id: 1, title: "文件重命名", handle: files_rename},
|
||||
{id: 1, title: "文件重命名", handle: file_rename},
|
||||
{id: 2, title: "视频查找重复", handle: video_findDeduplication},
|
||||
{id: 3, title: "视频去重", handle: video_deduplication},
|
||||
{id: 4, title: "种子去重", handle: torrent_deduplication},
|
||||
|
||||
Reference in New Issue
Block a user