import BaseAPI from './base_api'

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