| | |
| | | return NetworkRequest.request(params: params, method: .post, progress: false) |
| | | } |
| | | |
| | | /// 启动本地游戏 |
| | | /// 启动本地游戏【未使用】 |
| | | class func game_gameStart(gameId:Int,spaceId:Int,sutuId:Int,userID:Int)->Observable<BaseResponse<SimpleModel>>{ |
| | | let params = ParamsAppender.build(url: Game_Url) |
| | | .interface(url: "/v7/user_api/general/gameStart") |
| | |
| | | return NetworkRequest.request(params: params, method: .post, encoding: JSONEncoding.default, progress: false) |
| | | } |
| | | |
| | | /// 开门 |
| | | /// 开门 【未使用】 |
| | | class func game_OpenDoorCode(userID:Int)->Observable<BaseResponse<DoorModel>>{ |
| | | let params = ParamsAppender.build(url: Game_Url) |
| | | .interface(url: "/v7/user_api/general/getOpenDoorCode") |