import BaseAPI from '../base_api'

export default class ScoreAPI extends BaseAPI {
  /**
   * 获取我的学分信息
   */
  getMyScore = () => this.get('/v2/education/credits', {})
  /**
   * 提交 重修课程
   */
  submitRebuild = (obj = {}) => this.post('/v2/education/retake', obj, { headers: { 'Content-Type': 'multipart/form-data' } })
  /**
   * 意见反馈
   */
  feedbackcommit = (obj = {}) => this.post(`/v2/feedback/commit`, obj, { headers: { 'Content-Type': 'multipart/form-data' } })
}
