OKProject/Class/Logistics(小件物流)/ViewModels/LositcsViewModel.swift
@@ -36,7 +36,7 @@ /// 获取价格 func queryLogisticsUnitPrice()-> Observable<Result<LogisticsModel?,Error>>{ return APIManager.shared.provider.rx .request(.queryLogisticsUnitPrice(endAddress: endAddress.value, startLonLat: startLonLat.value, type: type.value.parame())) .request(.queryLogisticsUnitPrice(endAddress: endAddress.value, startLonLat: startLonLat.value, type: type.value.rawValue)) .mapThenValidate(LogisticsModel.self) .catchError { Single.just(.failure($0)) } .asObservable()