| | |
| | | import JQTools |
| | | |
| | | #if DEBUG |
| | | //let All_Url = "https://ds867zleb4ow.xiaomiqiu.com" |
| | | //let All_Url = "http://192.168.110.27:56666" |
| | | let All_Url = "http://8.137.22.229:56666" //正式地址 |
| | | //let All_Url = "http://8.137.22.229:56666" |
| | | //let All_Url = "http://192.168.110.27:56666" //罗易胜 |
| | | let All_Url = "http://192.168.110.22:56666" //刘杰 |
| | | //let All_Url = "http://8.137.22.229:56666" //正式地址 |
| | | //let All_Url = "http://8.137.22.229:56666" //正式地址 |
| | | let Game_Url = "https://try.daowepark.com" |
| | | //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:56666" //正式地址 |
| | | //let Game_Url = "https://port.daowepark.com"//正式地址 |
| | |
| | | } |
| | | |
| | | /// 获取城市code获取门店 |
| | | class func queryStoreAtCity(cityCode:Int)->Observable<BaseResponse<[CityProfileModel]>>{ |
| | | class func queryStoreAtCity(cityCode:Int?,provinceCode:Int)->Observable<BaseResponse<[CityProfileModel]>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/other/base/store/queryStoreByCityCode") |
| | | .append(key: "cityCode", value: cityCode) |
| | | .append(key: "provinceCode", value: provinceCode) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |