code: function (handler, val, sanitation, callback) {
  
      // 没有指定handler调用该方法，参数值顺移
      if (typeof sanitation === 'function') {
        callback = sanitation;
        sanitation = val;
        val = handler;
      }
  
      const func = sanitize[sanitation.rule];
      if (func) {
        val = func.call(this, val, sanitation.option, handler);
        if (callback) {
          callback(undefined, val);
        }
        return val;
      }
  
      if (callback) {
        callback(undefined, val);
      }
      return val;
    }
docs: 格式化数据