added ios module

This commit is contained in:
2026-08-17 20:13:28 +08:00
parent a8031e2e3b
commit 7c81976b2b
27 changed files with 2767 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import Foundation
enum AppConfig {
/// IP
/// / http://<IP>:<> http://192.168.1.100:80
static let serverBaseURL = "https://videoservice.d1kt.cn"
/// sentence_api/.env CLIENT_API_KEY
static let assessmentAPIKey = "fcf60fa10bc1c49e5ddb93d570bc54df5648e187b64096962498d57661c14220"
/// HTTPS TLS HTTP/
static let allowHTTPFallback = true
static let userAgent = "OralTrainerKit/0.1.0 (iOS)"
static let connectTimeout: TimeInterval = 15
static let readTimeout: TimeInterval = 30
static let assessmentTimeout: TimeInterval = 180
static let sha256Pattern = #"^[0-9a-fA-F]{64}$"#
}