import BaseAPI from './base_api'

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