let projectId = window.CFG.projectId || '';

const apiCfg = {
    getRule:`/projectx/${projectId}/projectRule.query`,
    doJoin: {
      uri: `/projectx/${projectId}/join.do`,
      method: "post"
    },
  /**
   * 首页信息
   */
    index:`/projectx/${projectId}/score/index.do`,
  /**
   * 接受邀请息
   */
    accept:`/projectx/${projectId}/invite/accept.do`,
  /**
   * 提交步数
   */
    submit:`/projectx/${projectId}/score/submit.do`,
  /**
   * 邀请列表
   */
    inviteList:`/projectx/${projectId}/invite/inviteList.do`,
  /**
   * 兑换
   */
    exchange:`/projectx/${projectId}/activity/exchange.do`,
  /**
   * 兑换列表
   */
    exchangeList:`/projectx/${projectId}/activity/exchangeList.do`,
  /**
   * 完成任务
   */
    completeTask:`/projectx/${projectId}/activity/completeTask.do`,
  /**
   * 排行榜弹窗
   */
    rankPop:`/projectx/${projectId}/score/rankPop.do`,
    /**
     * 排行榜奖项
     */
    rankPrize:`/projectx/${projectId}/leaderboardOption.query`,
    /**
     * 排行榜列表
     */
    rankList:`/projectx/${projectId}/leaderboard.query`,
    /**
    * 我的排行榜名次
    */
     myrank:`/projectx/${projectId}/leaderboardUser.query`,


    
}

export default apiCfg;