import BaseAPI from './base_api'

export default class ScoreAPI extends BaseAPI {
  //zws/v1/cms/news
  /**
   * zws项目内容获取
   */
  getContent = name =>
    this.get(
      `/zws/v1/cms/projects/1000/contents/${encodeURIComponent(decodeURIComponent(name))}?sites=sofia.ezijing.com`,
      {}
    )
  /**
   * zws新闻/消息获取
   */
  getNews = (obj = {}) => this.get('/zws/v1/cms/news', obj, {})
} 
