Exemplo n.º 1
0
        public SCServerRequestRegisterOpen(SCSession session)
            : base(ActionUrls.GetActionUrl(ActionUrls.Open), session)
        {
            Dictionary <string, string> postData = new Dictionary <string, string>();

            postData.Add(KeyValues.LINK_ID_KEY, session.LinkId);
            base.PostData = postData;
        }
Exemplo n.º 2
0
        public SCServerRequestCreateShortLink(SCSession session, SCShortLinkItem item)
            : base(ActionUrls.GetActionUrl(ActionUrls.Create), session)
        {
            Dictionary <string, string> postData = new Dictionary <string, string>();

            try
            {
                postData.Add(KeyValues.DEEP_LINK_ITEM_KEY, item.ToJson().ToString());
            }
            catch (Exception e)
            {
            }

            base.PostData = postData;
        }
 public SCServerRequestRegisterFirstOpen(SCSession session)
     : base(ActionUrls.GetActionUrl(ActionUrls.FirstOpen), session)
 {
     base.PostData = new SCEnvironment().toMap();
 }