import { axios } from '@/utils/request'

export function saveCode (parameter) {
  return axios({
    url: `/upms/codes`,
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json;charset=UTF-8'
    },
    data: parameter
  })
}
