import BaseAPI from './base_api'

export default class ScoreAPI extends BaseAPI {
  /**
   * 获取我的学分信息
   */
  getContent = name =>
    this.get(
      `/v1/cms/projects/1001/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=kelley.ezijing.com`,
      {
        addhost: 'zws-api.ezijing.com',
        Host: 'zws-api.ezijing.com'
      }
    )
}
