コード例 #1
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");
        }
コード例 #2
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");
        }
コード例 #3
0
ファイル: ShopTaskRunner.cs プロジェクト: cnucky/huan
        public void ReportAccountTest()
        {
            var t1 = new tb_tasklog("*****@*****.**", BusinessStatus.ready.ToString());

            t1.action               = "buy";
            t1.actionresult         = "1";
            t1.note                 = "²âÊÔ";
            MainForm.state          = BusinessStatus.ready;
            currentAccount          = new tb_tbzfb();
            currentAccount.zfbEmail = "*****@*****.**";
            this.ReportAccount("ok");
        }
コード例 #4
0
ファイル: ShopTaskRunner.cs プロジェクト: cnucky/huan
        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");
        }
コード例 #5
0
 public virtual void ReportAccount(tb_tasklog tb)
 {
 }