import BaseAPI from './base_api'

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