Files
ssg_rest_server/ssgrestserver/request/최초개발/새경품프로모션.cs
2026-04-01 20:16:50 +09:00

34 lines
985 B
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 = "promo/lotteryPromo.do?promoNo=";
string mRequestURL = "promo/lotteryPromo.do?promoNo=";
public void setNeedKeys()
{
mNeedKeyList.Add("프로모션코드");
mNeedKeyList.Add("보낸사람");
}
protected override string startUpdateWork()
{
JObject receiveData = JObject.Parse(httpRequest(mRequestURL + mRequestParameterKVPairList["프로모션코드"]));
receiveData.Add("조회시간", DateTime.Now.ToString());
receiveData.Add("보낸사람", mRequestParameterKVPairList["보낸사람"]);
return receiveData.ToString(Newtonsoft.Json.Formatting.None);
}
}
}