无故事王国
2024-04-12 5ff885af9af801927e688163171b26336ae6bc25
WanPai/Network/Services.swift
@@ -12,16 +12,14 @@
import JQTools
#if DEBUG
//let All_Url = "http://192.168.110.27:56666" //罗易胜
//let All_Url = "http://192.168.110.85:56666" //正式地址
//let All_Url = "http://192.168.110.80:56666" //正式地址
let All_Url = "http://221.182.45.100:56666"
let All_Url = "http://8.137.22.229:56666"
let Game_Url = "https://try.daowepark.com"
//let Socket_Url = "192.168.110.22"
#else
let All_Url = "http://8.137.22.229:56666" //正式地址
let Game_Url = "https://port.daowepark.com"//正式地址
//let Game_Url = "https://try.daowepark.com" //测试地址
//let Game_Url = "https://port.daowepark.com"//正式地址
let Game_Url = "https://try.daowepark.com"
//let Socket_Url = "192.168.110.22"
#endif
@@ -58,7 +56,7 @@
            }
            //支付游戏
            class func payGame(configId:Int,gameId:Int,spaceId:Int,sutuId:Int,type:PayType)->Observable<BaseResponse<PaymentModel>>{
            class func payGame(configId:Int,gameId:Int,spaceId:Int,sutuId:Int,type:PayType,gameType:Int)->Observable<BaseResponse<PaymentModel>>{
                        let params = ParamsAppender.build(url: All_Url)
                                    .interface(url: "/other/api/game/payGame")
                                    .append(key: "configId", value: configId)
@@ -66,6 +64,7 @@
                                    .append(key: "spaceId", value: spaceId)
                                    .append(key: "sutuId", value: sutuId)
                                    .append(key: "type", value: type.rawValue)
                                    .append(key: "gameType", value: gameType)
                        return NetworkRequest.request(params: params, method: .post, progress: false)
            }