46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ssgrestserver
|
|
{
|
|
class 매진조회 : ARequestObject, INeedKeyRequest
|
|
{
|
|
string mRequestURL = "/broad/cg?";
|
|
|
|
public void setNeedKeys()
|
|
{
|
|
mNeedKeyList.Add("seqGFrameNo");
|
|
mNeedKeyList.Add("보낸사람");
|
|
}
|
|
|
|
protected override string startUpdateWork()
|
|
{
|
|
|
|
mIsSendTypeGet = true;
|
|
|
|
string bufURLDataString = "";
|
|
|
|
foreach (KeyValuePair<string, string> item in mRequestParameterKVPairList)
|
|
{
|
|
bufURLDataString += item.Key + @"=" + item.Value + @"&";
|
|
}
|
|
|
|
bufURLDataString = bufURLDataString.Substring(0, bufURLDataString.Length - 1);
|
|
|
|
JObject receiveData = JObject.Parse(httpRequest(mRequestURL + bufURLDataString));
|
|
|
|
receiveData.Add("조회시간", DateTime.Now.ToString());
|
|
receiveData.Add("보낸사람", mRequestParameterKVPairList["보낸사람"]);
|
|
|
|
//receiveData.
|
|
|
|
return receiveData.ToString(Newtonsoft.Json.Formatting.None);
|
|
|
|
}
|
|
}
|
|
}
|