parameters: (request)
return_statement: return HttpResponse(content)
docstring: 根据请求ip获取当前服务器ip，查询此ip有那些用户和服务器权限
      :param request:
      :return:
docstring_summary: 根据请求ip获取当前服务器ip，查询此ip有那些用户和服务器权限
      :param request:
      :return:
docstring_tokens: 根据请求ip获取当前服务器ip，查询此ip有那些用户和服务器权限 : param request : : return :
function: def server_auth_user(request):
      """
      根据请求ip获取当前服务器ip，查询此ip有那些用户和服务器权限
      :param request:
      :return:
      """
      user = request.GET.get("user")
      user_id = CustomUser.objects.get(username=user)
      data = AuthNode.objects.filter(user_name=user_id)
      content = []
      for i in data:
          server_ip = "%s " % (i.node.eth1)
          content.append(server_ip)
  
      # return HttpResponse(json.dumps({"status": "200", "message": content}, ensure_ascii=False, indent=4))
      return HttpResponse(content)
function_tokens: def server_auth_user ( request ) : user = request . GET . get ( "user" ) user_id = CustomUser . objects . get ( username = user ) data = AuthNode . objects . filter ( user_name = user_id ) content = [ ] for i in data : server_ip = "%s " % ( i . node . eth1 ) content . append ( server_ip ) # return HttpResponse(json.dumps({"status": "200", "message": content}, ensure_ascii=False, indent=4)) return HttpResponse ( content )