Example #1
0
        public override void ReportAccount(string isok)
        {
            tb_tasklog tlog = new tb_tasklog(currentAccount.zfbEmail, MainForm.state.ToString());

            tlog.action       = "reg";
            tlog.actionresult = isok;
            tlog.note         = "website";
            //email name and num
            string s1 = JsonConvert.SerializeObject(tlog);

            HaoziHelper.ReportStatus(s1, "tb_tasklog");
        }
Example #2
0
        public virtual void ReportAccountStatus(string action, string status, string note)
        {
            tb_tasklog tlog = new tb_tasklog(currentAccount.zfbEmail, MainForm.state.ToString());

            tlog.action       = action;
            tlog.actionresult = status;
            tlog.note         = note;
            //email name and num
            string s1 = JsonConvert.SerializeObject(tlog);

            HaoziHelper.ReportStatus(s1, "tb_tasklog");
        }
Example #3
0
        public override void ReportAccount(string isok)
        {
            tb_tasklog tlog = new tb_tasklog(currentAccount.zfbEmail, MainForm.state.ToString());

            tlog.action       = "buy";
            tlog.actionresult = isok;
            var frame = MainForm.getMainframe;

            tlog.note += (MainForm.shoppingIndex + "|");
            if (frame != null)
            {
                tlog.note += CefFrameHelper.ExtractWarnMsg(MainForm.getMainframe).Trim() + "|" + MainForm.getMainframe.Url;
            }
            if (tlog.note == "")
            {
                tlog.note = "wap";
            }


            //email name and num
            string s1 = JsonConvert.SerializeObject(tlog);

            HaoziHelper.ReportStatus(s1, "tb_tasklog");
        }