import BaseAPI from './base_api'

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