关于后端:思否评论区-人的功能实现

37次阅读

共计 2623 个字符,预计需要花费 7 分钟才能阅读完成。

例子出处:8.8.8.8 属于什么类型的 dns 服务器?

应用 F12 查看了一下 ajax

内容如下:

{
  "comments": [
    {
      "id": 1050000043461318,
      "user_id": 1030000017198763,
      "object_id": 1020000043461266,
      "reply_comment_id": 0,
      "reply_user_id": 0,
      "original_text": "那我在路由器,把 dns 改成 8.8.8.8,这个时候 8.8.8.8 对我的局域网来说,就算是本地域名服务器吗?",
      "parsed_text": "<p> 那我在路由器,把 dns 改成 8.8.8.8,这个时候 8.8.8.8 对我的局域网来说,就算是本地域名服务器吗?<\/p>",
      "created": 1677118330,
      "is_liked": false,
      "votes": 0,
      "ip_address": "浙江",
      "user": {
        "id": 1030000017198763,
        "url": "\/u\/ponponon",
        "name": "ponponon",
        "avatar_url": "https:\/\/avatar-static.segmentfault.com\/213\/213\/2132139767-5c000091a1baa_big64",
        "slug": "ponponon",
        "headdress_worn": null
      },
      "reply_user": null,
      "member_actions": [
        {
          "action": "delete",
          "name": "删除",
          "type": "delete"
        }
      ]
    },
    {
      "id": 1050000043461378,
      "user_id": 1030000038245499,
      "object_id": 1020000043461266,
      "reply_comment_id": 1050000043461318,
      "reply_user_id": 1030000017198763,
      "original_text": null,
      "parsed_text": "<p> 这代表着将 8888 域名服务器设为默认的域名服务器, 不仅路由器能够改, 电脑上手机上也能够批改默认域名服务器. 域名服务器首先是服务器, 并且为啥点踩😅<\/p>",
      "created": 1677118561,
      "is_liked": false,
      "votes": 0,
      "ip_address": "上海",
      "user": {
        "id": 1030000038245499,
        "url": "\/u\/mala_yilin",
        "name": "玛拉_以琳",
        "avatar_url": "https:\/\/avatar-static.segmentfault.com\/119\/330\/1193309217-5fb8b5c7bf101_big64",
        "slug": "mala_yilin",
        "headdress_worn": null
      },
      "reply_user": {
        "url": "\/u\/ponponon",
        "name": "ponponon"
      },
      "member_actions": []},
    {
      "id": 1050000043461379,
      "user_id": 1030000038245499,
      "object_id": 1020000043461266,
      "reply_comment_id": 1050000043461318,
      "reply_user_id": 1030000038245499,
      "original_text": null,
      "parsed_text": "<p> 比方我公司用的就是本人公司搭建的域名服务器, 有许多网站都上不去比方 bilibili<\/p>",
      "created": 1677118629,
      "is_liked": false,
      "votes": 0,
      "ip_address": "上海",
      "user": {
        "id": 1030000038245499,
        "url": "\/u\/mala_yilin",
        "name": "玛拉_以琳",
        "avatar_url": "https:\/\/avatar-static.segmentfault.com\/119\/330\/1193309217-5fb8b5c7bf101_big64",
        "slug": "mala_yilin",
        "headdress_worn": null
      },
      "reply_user": {
        "url": "\/u\/mala_yilin",
        "name": "玛拉_以琳"
      },
      "member_actions": []},
    {
      "id": 1050000043461383,
      "user_id": 1030000017198763,
      "object_id": 1020000043461266,
      "reply_comment_id": 1050000043461318,
      "reply_user_id": 1030000038245499,
      "original_text": "你这里说的默认域名服务器是『根域名服务器』、『顶级域名服务器』、『权威域名服务器』、『本地域名服务器』四个中的哪一个?",
      "parsed_text": "<p> 你这里说的默认域名服务器是『根域名服务器』、『顶级域名服务器』、『权威域名服务器』、『本地域名服务器』四个中的哪一个?<\/p>",
      "created": 1677118674,
      "is_liked": false,
      "votes": 0,
      "ip_address": "浙江",
      "user": {
        "id": 1030000017198763,
        "url": "\/u\/ponponon",
        "name": "ponponon",
        "avatar_url": "https:\/\/avatar-static.segmentfault.com\/213\/213\/2132139767-5c000091a1baa_big64",
        "slug": "ponponon",
        "headdress_worn": null
      },
      "reply_user": {
        "url": "\/u\/mala_yilin",
        "name": "玛拉_以琳"
      },
      "member_actions": [
        {
          "action": "delete",
          "name": "删除",
          "type": "delete"
        }
      ]
    }
  ],
  "all_total": 4,
  "total": 4
}

正文完
 0