feat: 更新素材管理和举报风险地图

This commit is contained in:
2026-07-09 12:20:02 +08:00
parent 9b92d81902
commit 42aca73588
42 changed files with 6164 additions and 1369 deletions

View File

@ -0,0 +1,23 @@
//
// SettingAPI.swift
// suixinkan
//
import Foundation
@MainActor
/// API
final class SettingAPI {
private let client: APIClient
init(client: APIClient) {
self.client = client
}
/// App
func checkLatestVersion() async throws -> VersionResponse {
try await client.send(
APIRequest(method: .get, path: "/api/app/latest-version")
)
}
}