无故事王国
2023-09-14 45aebcb160b7a68ad79ad703466e287513f2ae22
WanPai/Network/Services.swift
@@ -12,8 +12,8 @@
import JQTools
#if DEBUG
let All_Url = "http://192.168.110.44:56666"
//let All_Url = "https://console-mock.apipost.cn/mock/b5b2dee0-5564-40ae-f082-a352d502a153"
//let All_Url = "http://192.168.110.44:56666"
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://192.168.110.80:5209"
@@ -539,7 +539,7 @@
    static func exchangeStoreIds(id:Int,type:ExchangeType)->Observable<BaseResponse<[StoreSimpleModel]>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "/account/api/useBenefit/exchangeStoreIds")
            .append(key: "goodsId", value: id)
            .append(key: "pointsMerId", value: id)
            .append(key: "goodsType", value: type.rawValue)
        return NetworkRequest.request(params: params, method: .post, progress: false)
    }