var format = function (text) {
  if (!text) {
    return
  }
  var reg = getRegExp('\\\\n', 'g')
  return text.replace(reg, '\n')
}

var swi=function(type){
  if(type==0 || type==null ) return "POS销售";
}


module.exports = {
  format: format,
  swi: swi
}
