import request from '@/utils/httpRequest'

export default class SerialnumTplService {
  list (param) {
    return request({
      url: `/sys/template/list`,
      method: 'get',
      params: param
    })
  }

  remove (url) {
    return request({
      url: '/sys/template/remove',
      method: 'get',
      params: {id: url}
    })
  }

  findById (id) {
    return request({
      url: '/sys/template/findById',
      method: 'get',
      params: {id: id}
    })
  }

  save (param) {
    return request({
      url: '/sys/template/save',
      method: 'post',
      data: param
    })
  }
}
