refactor: 应用 UI 工程化

This commit is contained in:
zihluwang committed 2025-07-29 16:02:12 +08:00
1 parent 404bbdd28a
commit e23a6e0cdc
3 files changed
+19 -9

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { invoke } from "@tauri-apps/api/core"
import { Level } from "@/types"
/**
* 从服务端获取下一条祖安语录
* @param level 祖安级别
*/
export async function nextZuan(level?: Level) {
return await invoke<string>("get_message", { level })
}