Exemple #1
0
 public void GetLadderInfoTest()
 {
     try
     {
         var list = CrossladderManagerMgr.GetDailyHonor();
         if (list != null)
         {
             foreach (var entity in list)
             {
                 LadderManagerMgr.AddDailyHonor(entity.ManagerId, entity.NewlyHonor, entity.NewlyLadderCoin, null, entity.SiteId);
             }
         }
     }
     catch (Exception ex)
     {
         SystemlogMgr.Error("SendDailyHonor", ex);
     }
 }
Exemple #2
0
 protected void btnCrossLadderCoin_Click(object sender, EventArgs e)
 {
     try
     {
         ShowMessage("开始补发天梯币...");
         var list = CrossladderManagerMgr.GetDailyHonor();
         if (list != null)
         {
             foreach (var entity in list)
             {
                 LadderManagerMgr.AddDailyHonor(entity.ManagerId, entity.NewlyHonor, entity.NewlyLadderCoin, null,
                                                entity.SiteId);
             }
         }
         ShowMessage("补发成功...");
     }
     catch (Exception ex)
     {
         SystemlogMgr.Error("SendDailyHonor", ex);
     }
 }