| | |
| | | //let All_Url = "https://console-mock.apipost.cn/mock/b5b2dee0-5564-40ae-f082-a352d502a153" |
| | | //let All_Url = "http://192.168.110.165:10393/mock/b5b2dee0-5564-40ae-f082-a352d502a153" |
| | | #else |
| | | //let All_Url = "http://8.137.22.229" |
| | | let All_Url = "http://8.137.22.229" |
| | | let Game_Url = "https://port.daowepark.com" |
| | | #endif |
| | | |
| | |
| | | } |
| | | |
| | | /// 预约场地支付 |
| | | static func reservationSite(booker:String,couponId:Int?,id:Int,payType:PayType,phone:String,times:String,halfName:String? = nil,isHalf:Int? = nil,nextName:String? = nil)->Observable<BaseResponse<PaymentModel>>{ |
| | | static func reservationSite(booker:String,couponId:Int?,id:Int,payType:PayType,phone:String,times:String,halfName:String? = nil,isHalf:Int,nextName:String? = nil)->Observable<BaseResponse<PaymentModel>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/other/api/site/reservationSite") |
| | | .append(key: "booker", value: booker) |