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"); }
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"); }
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"); }
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"); }
public virtual void ReportAccount(tb_tasklog tb) { }