コード例 #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);
     }
 }
コード例 #2
0
ファイル: TestPrize.aspx.cs プロジェクト: cool8868/H5Nball
 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);
     }
 }