Files
e-party-iOS/yana/APIs/APIConstants.swift
2025-07-07 14:19:07 +08:00

48 lines
1.3 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Foundation
/// API
///
/// API
/// -
/// -
/// - API
/// -
///
/// APIConfiguration
/// APIConfiguration
enum APIConstants {
// MARK: - Base URLs
///
static let baseURL = "http://beta.api.molistar.xyz"
// MARK: - Common Headers
///
/// Content-TypeAccept
static let defaultHeaders: [String: String] = [
"Content-Type": "application/json",
"Accept": "application/json",
"platform": "ios",
"version": "1.0.0"
]
// MARK: - Endpoints
/// API
///
/// 使 APIEndpoints.swift
///
enum Endpoints {
///
static let clientInit = "/client/init"
///
static let login = "/user/login"
}
// MARK: - Common Parameters
///
/// BaseRequest
static let commonParameters: [String: String] = [:
// "platform": "ios",
// "version": "1.0.0"
]
}