对齐 Android 实名认证流程与审核页、钱包提现/积分兑换界面,优化打卡点列表与详情交互,并补充相关资源、主题 token 与单元测试。 Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.4 KiB
Swift
43 lines
1.4 KiB
Swift
//
|
||
// AppAgreementURLs.swift
|
||
// suixinkan
|
||
//
|
||
|
||
import Foundation
|
||
|
||
/// App 协议与隐私政策链接,对齐 Android `AgreementRoutes`。
|
||
enum AppAgreementURLs {
|
||
/// 关于我们 H5 地址。
|
||
nonisolated static var aboutUs: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/about-us")
|
||
}
|
||
|
||
/// 隐私政策 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")
|
||
}
|
||
|
||
/// 钱包与实名认证流程使用的用户协议 H5 地址。
|
||
nonisolated static var walletUserNotice: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/wallet-user-notice")
|
||
}
|
||
|
||
/// 钱包与实名认证流程使用的隐私政策 H5 地址。
|
||
nonisolated static var walletPrivacyPolicy: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/wallet-privacy")
|
||
}
|
||
|
||
/// App 下载 H5 地址。
|
||
nonisolated static var appDownload: URL {
|
||
APIEnvironment.current.baseURL.appending(path: "h5/app/download")
|
||
}
|
||
|
||
/// 高德地图开放平台隐私权政策。
|
||
nonisolated static let amapPrivacyPolicy = URL(string: "https://lbs.amap.com/pages/privacy/")!
|
||
}
|