using LitJson; using SimpleHttpServer; using ProtoCSStruct; namespace Operation { public class InstallData { public static int OnInstallDataHttpReq(string httpApiCmd, JsonData jsonData, HttpResponse rsp, HttpRequest request, HttpQueryParams query, uint httpContextId) { SSGmPlayerPhoneInfo req = new SSGmPlayerPhoneInfo(); foreach (var a in query.m_map) { req.Playerphoneinfokey.Add(a.Key); req.Playerphoneinfovalue.Add(a.Value); }; // cluster层的服务器必须知道worldserverid才可以和world通信 //OperationServerUtils.GetPacketSender().SendToWorldServer((int)SSGameMsgID.GmPlayerPhoneInfo, ref req, request.UniqueID, OperationServerUtils.GetAppID()); return 0; } } }