Unify GPS, reverse geocoding, and map display behind LocationProvider with privacy-gated bootstrap after login, aligned with Android. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
655 B
Swift
23 lines
655 B
Swift
//
|
||
// AppAgreementURLs.swift
|
||
// suixinkan
|
||
//
|
||
|
||
import Foundation
|
||
|
||
/// App 协议与隐私政策链接,对齐 Android `AgreementRoutes`。
|
||
enum AppAgreementURLs {
|
||
/// 隐私政策 H5 地址。
|
||
nonisolated static var privacyPolicy: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/privacy-policy")
|
||
}
|
||
|
||
/// 用户协议 H5 地址。
|
||
nonisolated static var userAgreement: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/user-agreement")
|
||
}
|
||
|
||
/// 高德地图开放平台隐私权政策。
|
||
nonisolated static let amapPrivacyPolicy = URL(string: "https://lbs.amap.com/pages/privacy/")!
|
||
}
|