无故事王国
2023-11-13 a64b39beb6ba6ed8208d70daef2ff8872bdf265a
WanPai/Network/Services.swift
@@ -274,6 +274,8 @@
    class func benefitHome()->Observable<BaseResponse<BenefitHomeModel>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/account/api/useBenefit/indexOfAppUser")
         .append(key: "lat", value: locationTool.currentLocation?.coordinate.latitude.string)
         .append(key: "lon", value: locationTool.currentLocation?.coordinate.longitude.string)
        return NetworkRequest.request(params: params, method: .post, progress: false)
    }
@@ -415,7 +417,7 @@
            .append(key: "lat", value: locationTool.currentLocation?.coordinate.latitude.string)
            .append(key: "lon", value: locationTool.currentLocation?.coordinate.longitude.string)
            .append(key: "price", value: "\(price)")
        return NetworkRequest.request(params: params, method: .post, progress: false)
        return NetworkRequest.request(params: params, method: .post, progress: true)
    }
        /// 获取学员列表