示例#1
0
  private void handleIndex(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "generaltask", "index", null);

    m_helper.doGet(ctx, url, "number");
  }
示例#2
0
  private void handleAction(TaskContext ctx) throws Exception {
    String url =
        m_helper.buildUrl2(ctx, "generaltask", "action", "&id=%s&type=0&gid=%s", "id", "gid");

    m_helper.doGet(ctx, url);
  }
示例#3
0
  private void handleMatrix(TaskContext ctx) throws Exception {
    String url =
        m_helper.buildUrl2(ctx, "matrix", "update_matrix", "&list=%s&mid=%s", "list", "mid");

    m_helper.doGet(ctx, url);
  }
示例#4
0
  private void handleIndex(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "index", null);

    m_helper.doGet(ctx, url, "countdown");
  }
示例#5
0
  private void handleBattle(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "battle", "&now=0");

    m_helper.doGet(ctx, url);
  }
示例#6
0
  private void handleReward(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "reward", "#");

    m_helper.doGet(ctx, url, "reward.silver", "reward.get3", "reward.get2");
  }