protected override void ScrapType2(FlowModelData flowModelData) { FlowList.Add("stdservice/ipssCheckLogin.do", Login, null); FlowList.Add("member/login.do", Login2, null, (data) => { data.DataPack["st"] = DateTime.Now.AddMonths(-1).AddDays(-DateTime.Now.Day).AddDays(1); }); FlowList.Add("ipss/ipssmainscr.do", Main, null, (data) => { buffer.Clear(); buffer.Append("http://ipss.interpark.com/settlement/ProOMSetlDetail.do?"); this.buffer.Append(CreateGetParameter(new Dictionary <String, String>() { { "_method", "totalPro" }, { "_style", "grid" }, { "sc.strDt", data.DataPack["st"].ToString("yyyyMMdd") }, { "sc.endDt", data.DataPack["st"].AddMonths(1).AddDays(-1).ToString("yyyyMMdd") }, { "_search", "false" }, { "nd", "" }, { "rows", "30" }, { "page", "1" }, { "sidx", "" }, { "sord", "asc" } })); base.Navigate(buffer.ToString()); }); FlowList.Add("settlement/ProOMSetlDetail.do", ProOMSetlDetail, null, (data) => { Response.SetResultCode(ResultCode.RC1000); data.IsNextScrap = false; }); }
public AuctionFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { logger.Info("Action initialize"); FlowList.Add("Member/SignIn/LogOn", Login, null); FlowList.Add("Home/Home", Home, null); FlowList.Add("membership/MyInfo/MyInfoComp", Profile, null); FlowList.Add("Escrow/Delivery/BuyDecision", BuyDecision, null); FlowList.Add("Member/Settle/IacSettleDetail", LacSettleDetail, null); FlowList.Add("Escrow/Delivery/GeneralDelivery", GeneralDelivery, null); FlowList.Add("Escrow/Delivery/Sending", Sending, null); FlowList.Add("Areas/Manual/SellerGuide", ScrapEnd, null); FlowList.Add("Escrow/Claim/ReturnRequestManagement", ReturnRequestManagement, null); FlowList.Add("Sell/Items/ItemsMng", ItemsMng, null); FlowList.Add("Sell/Items/GetItemMngList", GetItemMngList, null); FlowList.Add("Member/CustomerService/CSManagement", CSManagement, null); FlowList.Add("BuyDecisionExcel", BuyDecisionExcel, null); FlowList.Add("IacRemitListExcelDownload", LacRemitListExcelDownload, null); FlowList.Add("GeneralDeliveryExcel", GeneralDeliveryExcel, null); FlowList.Add("SendingExcel", SendingExcel, null); FlowList.Add("ExcelDownload", ExcelDownload, null); base.ReflectFlyweightKeys.Add(typeof(BuyDecisionExcel)); base.ReflectFlyweightKeys.Add(typeof(LacRemitListExcel)); base.ReflectFlyweightKeys.Add(typeof(GeneralDeliveryExcel)); base.ReflectFlyweightKeys.Add(typeof(SendingExcel)); base.ReflectFlyweightKeys.Add(typeof(ReturnRequest)); base.ReflectFlyweightKeys.ForEach(type => { ReflectFlyweight.Add(type, new List <FieldInfo>(type.GetFields(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance))); }); }
public GMarketFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { logger.Info("Gmarket initialize"); FlowList.Add("Member/SignIn/LogOn", Login, null); FlowList.Add("Home/Home", Home, null); FlowList.Add("Member/CustomerService/CSManagement", CSManagement, null); }
public HalfclubFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { logger.Info("HalfclubFlow initialize"); FlowList.Add("index.aspx", Login, null); FlowList.Add("Home/Default.aspx", Default, null); FlowList.Add("PrivateMng/CompanyModify.aspx", CompanyModify, null); }
protected override void ScrapType4(FlowModelData flowModelData) { FlowList.Add("stdservice/ipssCheckLogin.do", Login, null); FlowList.Add("member/login.do", Login2, null); FlowList.Add("ipss/ipssmainscr.do", Main, "http://ipss.interpark.com/delivery/reportEntr.do?_method=excel&_style=ipssPro&sc.yyyymm=" + Parameter.Sdate.Substring(0, 6)); FlowList.Add("delivery/reportEntr.do", ReportEntrExcel, null); //"http://ipss.interpark.com/delivery/reportEntr.do?_method=excel&_style=ipssPro&sc.yyyymm=" + Parameter.Sdate.Substring(0, 6) //DownloadMap.Add("delivery/reportEntr.do",null); }
public StoreFarmFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { logger.Info("StoreFarmFlow initialize"); FlowList.Add("#/login", Login, null); FlowList.Add("#", Home, null); FlowList.Add("#/home/dashboard", Home, null); FlowList.Add("#/seller/info", Info, null); }
protected override void ScrapType0(FlowModelData flowModelData) { FlowList.Add("stdservice/ipssCheckLogin.do", Login, null); FlowList.Add("member/login.do", Login2, null); FlowList.Add("ipss/ipssmainscr.do", Main, "http://ipss.interpark.com/ipss/ipssmainscr.do?_method=initTabMain&_style=ipssPro&newType=Y"); FlowList.Add("member/memberentrjoin.do", MemberentrJoin, null, (data) => { Response.SetResultCode(ResultCode.RC1000); data.IsNextScrap = false; }); }
public StreetFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { logger.Info("StreetFlow initialize"); FlowList.Add("login/Login.page", Login, null); FlowList.Add("Index.tmall", Index, null); FlowList.Add("marketing/SellerMenuAction.tmall", SellerMenuAction, null); FlowList.Add("register/SellerInfoEdit.tmall", SellerInfoEdit, null); FlowList.Add("stats/StatsPeriodProdSel.tmall", StatsPeriodProdSel, null); FlowList.Add("remittance/SellerRemittanceAction.tmall", SellerRemittanceAction, null); FlowList.Add("escrow/OrderingLogisticsAction.tmall", OrderingLogisticsAction, null); }
public TestFlow(ScrapBrowser browser, Parameter param) : base(browser, param) { FlowList.Add("", Test, null); }
protected override void ScrapType3(FlowModelData flowModelData) { FlowList.Add("stdservice/ipssCheckLogin.do", Login, null); FlowList.Add("member/login.do", Login2, null); FlowList.Add("ipss/ipssmainscr.do", Main, null, (data) => { buffer.Clear(); buffer.Append("http://ipss.interpark.com/delivery/ProDeliveryCheckList.do?"); this.buffer.Append(CreateGetParameter(new Dictionary <String, String>() { { "_method", "list" }, { "_style", "grid" }, { "sc.strDt", DateTime.Now.AddDays(-14).ToString("yyyyMMdd") }, { "sc.endDt", DateTime.Now.ToString("yyyyMMdd") }, { "_search", "false" }, //{"nd","" }, //{"rows","30" }, { "page", "1" }, //{"sidx","" }, //{"sord","asc" }, { "sc.dateTp", "2" }, { "sc.strHour", "00" }, { "sc.endHour", "23" }, { "sc.page", "1" } })); base.Navigate(buffer.ToString()); }); FlowList.Add("delivery/ProDeliveryCheckList.do", ProDeliveryCheckList, null, (data) => { buffer.Clear(); buffer.Append("https://ipss.interpark.com/delivery/ProDeliveryStatusList.do?"); this.buffer.Append(CreateGetParameter(new Dictionary <String, String>() { { "_method", "list" }, { "_style", "grid" }, { "sc.strDt", DateTime.Now.AddDays(-14).ToString("yyyyMMdd") }, { "sc.endDt", DateTime.Now.ToString("yyyyMMdd") }, { "_search", "false" }, //{"nd","" }, //{"rows","30" }, { "page", "1" }, //{"sidx","" }, //{"sord","asc" }, { "sc.dateTp", "2" }, { "sc.strHour", "00" }, { "sc.endHour", "23" }, { "sc.page", "1" } })); base.Navigate(buffer.ToString()); }); FlowList.Add("delivery/ProDeliveryStatusList.do", ProDeliveryStatusList, null, (data) => { buffer.Clear(); buffer.Append("http://ipss.interpark.com/order/ProBuyConfirmList.do?"); this.buffer.Append(CreateGetParameter(new Dictionary <String, String>() { { "_method", "list" }, { "_style", "grid" }, { "sc.strDt", DateTime.Now.AddDays(-14).ToString("yyyyMMdd") }, { "sc.endDt", DateTime.Now.ToString("yyyyMMdd") }, { "_search", "false" }, //{"nd","" }, //{"rows","30" }, { "page", "1" }, //{"sidx","" }, //{"sord","asc" }, { "sc.dateTp", "2" }, { "sc.strHour", "00" }, { "sc.endHour", "23" }, { "sc.page", "1" } })); base.Navigate(buffer.ToString()); }); FlowList.Add("order/ProBuyConfirmList.do", ProBuyConfirmList, null, (data) => { Response.SetResultCode(ResultCode.RC1000); data.IsNextScrap = false; }); }