import request from '@/utils/httpRequest'

export default class KnowledgeShareTypeService {
  list (param) {
    return request({
      url: '/knowledgeShare/type/list',
      method: 'get',
      params: param
    })
  }
  save (param) {
    return request({
      url: '/knowledgeShare/type/save',
      method: 'post',
      data: param
    })
  }
  findById (id) {
    return request({
      url: '/knowledgeShare/type/findById',
      method: 'get',
      params: {id: id}
    })
  }
  remove (id) {
    return request({
      url: '/knowledgeShare/type/remove',
      method: 'get',
      params: {id: id}
    })
  }
}
