import BaseAPI from './base_api'

export default class OtherAPI extends BaseAPI {
  /**
   * 获取我的消息信息
   */
  getMyMsg = () => this.get('/v2/education/message/my', {})
  /**
   * 文件提交
   * @param {[object]} obj
   */
  uploadFile = (obj = {}) => this.post('/util/upload-file', obj, { headers: { 'Content-Type': 'multipart/form-data' } })
}
