public string submit() { var str = Guid.NewGuid().ToString(); seqId = 0; var postData = new Dictionary <string, object>(); postData.Add("requestId", str); postData.Add("appkey", APPKEY); postData.Add("action", "pushMessageToSingleBatchAction"); postData.Add("serialize", "pb"); postData.Add("async", GtConfig.isPushSingleBatchAsync()); var singleBatchRequest = SingleBatchRequest.CreateBuilder().SetBatchId(batchId) .AddRangeBatchItem(innerMsgList).Build(); postData.Add("singleDatas", Convert.ToBase64String(singleBatchRequest.ToByteArray())); lastPostData = postData; innerMsgList.Clear(); return(push.httpPostJSON(push.host, postData, true)); }