| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // String+Urls.swift
- // Lanu
- //
- // Created by OneeChan on 2025/12/24.
- //
- import Foundation
- extension String {
- var isDeeplink: Bool {
- lowercased().starts(with: LNDeeplinkUrls.appScheme)
- }
-
- static var webUrlHost: String {
- LNAppConfig.shared.curEnv == .test ? "https://test-web.gami.vip" : "https://web.gami.vip"
- }
- static var privacyUrl: String = {
- "\(webUrlHost)/about/privacyPolicy"
- }()
- static var serviceUrl: String = {
- "\(webUrlHost)/about/termsOfService"
- }()
- static var communityUrl: String = {
- "\(webUrlHost)/about/communityGuideline"
- }()
-
- static var deleteAccountUrl: String = {
- "\(webUrlHost)/mine/cancellation"
- }()
-
- static var walletHistoryUrl: String = {
- "\(webUrlHost)/wallet/record"
- }()
- static var beanUrl: String = {
- "\(webUrlHost)/wallet/wd"
- }()
-
- static var orderQRShareUrl: String = {
- "\(webUrlHost)/user/category"
- }()
- static var profileShareUrl: String = {
- "\(webUrlHost)/user/profile"
- }()
-
- static var joinUsUrl: String = {
- "\(webUrlHost)/native/playmate/apply"
- }()
- }
|