jsdw_ios/QuickLocation/API/AppNetworkConfig.swift

34 lines
622 B
Swift

//
// AppNetworkConfig.swift
// SHECommunity
//
// Created by on 2024/11/25.
//
import Foundation
import Moya
//
class AppNetworkConfig {
// MARK: - Property
///
public static let shared = AppNetworkConfig()
///
public var baseURL: String = ""
/// header
public var httpHeader: (() -> [String: String])?
///
public var handleRespone: ((Result<Response, MoyaError>, Bool) -> Result<Response, MoyaError>?)?
// MARK: - Lifecyc
private init() {}
}
extension AppNetworkConfig {
}