无故事王国
2023-11-20 76e22221a628f7df62fb7b6ebaaf9315fa04e7ba
WanPai/Network/Services.swift
@@ -469,7 +469,7 @@
    class func courcePayment(conponId:Int? = nil,courseConfigId:Int,id:Int,price:Double,payType:PayType,stuId:[Int])->Observable<BaseResponse<PaymentModel>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/course/api/course/paymentCourse")
            .append(key: "conponId", value: conponId)
            .append(key: "couponId", value: conponId)
            .append(key: "coursePackagePaymentConfigId", value: courseConfigId)
            .append(key: "id", value: id)
            .append(key: "payType", value: payType.rawValue)
@@ -734,6 +734,17 @@
// MARK: -- 探索玩湃
extension Services{
   static func exploreStoreList(search:String? = nil,space:Int? = nil,cityCode:Int? = nil)->Observable<BaseResponse<[SearchStoreListModel]>>{
      let params = ParamsAppender.build(url: All_Url)
         .interface(url: "/account/base/exploreWP/storeList")
         .append(key: "latitude", value: locationTool.currentLocation?.coordinate.latitude.string)
         .append(key: "longitude", value: locationTool.currentLocation?.coordinate.longitude.string)
         .append(key: "search", value: search)
         .append(key: "space", value: space)
         .append(key: "cityCode", value: cityCode)
      return NetworkRequest.request(params: params, method: .post, progress: false)
   }
        /// 探索玩湃首页数据
    static func exploreHome()->Observable<BaseResponse<[StartClouseExploreModel]>>{
        let params = ParamsAppender.build(url: All_Url)