code: function validateCookies(cookies) {
      if (!cookies || !cookies.length || 0 >= cookies.length) {
        return false
      }
  
      if (!cookies[0]) {
        return false
      }
  
      return true
    }
docs: 检查cookie的合法性
  @param  {Array} cookies  cookies字段数组
  @return {Boolean}        是否合法