深圳全飞鸿

标题: ShowDoc加载Markdown的过程 [打印本页]

作者: syant    时间: 3 天前
标题: ShowDoc加载Markdown的过程
加载过程
  1. POST /dict/server/index.php?s=/api/page/info HTTP/1.1
  2. Host: 192.168.1.22
  3. Proxy-Connection: keep-alive
  4. Content-Length: 93
  5. Accept: application/json, text/plain, */*
  6. User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
  7. Content-Type: application/x-www-form-urlencoded
  8. Accept-Language: en-US,en;q=0.9
  9. Origin: http://192.168.1.22
  10. Referer: http://192.168.1.22/dict/web/
  11. Cookie: PHPSESSID=3u0d66tp51ddjjtmdtkn3m8o16; think_language=en-US

  12. page_id=260077871&user_token=2fcbf3c9a6a8d97c31008b6f0fe263459a2d1825230fe79a2ed9035921c7afc9
  13. HTTP/1.1 200 OK
  14. Date: Thu, 01 May 2025 09:48:38 GMT
  15. Server: Apache/2.4.27 (Win64) PHP/5.6.31
  16. X-Powered-By: PHP/5.6.31
  17. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  18. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  19. Pragma: no-cache
  20. Content-Length: 576
  21. Content-Type: text/html; charset=UTF-8
复制代码


作者: syant    时间: 3 天前
  1. POST /dict/server/index.php?s=/api/common/homePageSetting HTTP/1.1
  2. Host: 192.168.1.22
  3. Proxy-Connection: keep-alive
  4. Content-Length: 75
  5. Accept: application/json, text/plain, */*
  6. User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
  7. Content-Type: application/x-www-form-urlencoded
  8. Accept-Language: en-US,en;q=0.9
  9. Origin: http://192.168.1.22
  10. Referer: http://192.168.1.22/dict/web/
  11. Cookie: PHPSESSID=3u0d66tp51ddjjtmdtkn3m8o16; think_language=en-US

  12. user_token=2fcbf3c9a6a8d97c31008b6f0fe263459a2d1825230fe79a2ed9035921c7afc9
  13. HTTP/1.1 200 OK
  14. Date: Thu, 01 May 2025 09:48:38 GMT
  15. Server: Apache/2.4.27 (Win64) PHP/5.6.31
  16. X-Powered-By: PHP/5.6.31
  17. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  18. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  19. Pragma: no-cache
  20. Content-Length: 83
  21. Content-Type: text/html; charset=UTF-8
复制代码

返回:
{"error_code":0,"data":{"home_page":"1","home_item":"0","beian":"","is_show_ai":0}}
作者: syant    时间: 3 天前
  1. POST /dict/server/index.php?s=/api/page/isLock HTTP/1.1
  2. Host: 192.168.1.22
  3. Proxy-Connection: keep-alive
  4. Content-Length: 111
  5. Accept: application/json, text/plain, */*
  6. User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
  7. Content-Type: application/x-www-form-urlencoded
  8. Accept-Language: en-US,en;q=0.9
  9. Origin: http://192.168.1.22
  10. Referer: http://192.168.1.22/dict/web/
  11. Cookie: PHPSESSID=3u0d66tp51ddjjtmdtkn3m8o16; think_language=en-US

  12. page_id=260077871&item_id=646980239&user_token=2fcbf3c9a6a8d97c31008b6f0fe263459a2d1825230fe79a2ed9035921c7afc9
  13. HTTP/1.1 200 OK
  14. Date: Thu, 01 May 2025 09:48:38 GMT
  15. Server: Apache/2.4.27 (Win64) PHP/5.6.31
  16. X-Powered-By: PHP/5.6.31
  17. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  18. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  19. Pragma: no-cache
  20. Content-Length: 83
  21. Content-Type: text/html; charset=UTF-8
复制代码

返回:
{"error_code":0,"data":{"lock":1,"lock_uid":"1","lock_username":"showdoc","is_cur_user":1}}
作者: syant    时间: 3 天前
  1. POST /dict/server/index.php?s=/api/catalog/catListName HTTP/1.1
  2. Host: 192.168.1.22
  3. Proxy-Connection: keep-alive
  4. Content-Length: 93
  5. Accept: application/json, text/plain, */*
  6. User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
  7. Content-Type: application/x-www-form-urlencoded
  8. Accept-Language: en-US,en;q=0.9
  9. Origin: http://192.168.1.22
  10. Referer: http://192.168.1.22/dict/web/
  11. Cookie: PHPSESSID=3u0d66tp51ddjjtmdtkn3m8o16; think_language=en-US

  12. item_id=646980239&user_token=2fcbf3c9a6a8d97c31008b6f0fe263459a2d1825230fe79a2ed9035921c7afc9
  13. HTTP/1.1 200 OK
  14. Date: Thu, 01 May 2025 09:48:38 GMT
  15. Server: Apache/2.4.27 (Win64) PHP/5.6.31
  16. X-Powered-By: PHP/5.6.31
  17. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  18. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  19. Pragma: no-cache
  20. Content-Length: 548
  21. Content-Type: text/html; charset=UTF-8
复制代码

返回:
  1. {
  2.     "error_code": 0,
  3.     "data": [
  4.         {
  5.             "cat_id": "480282616",
  6.             "cat_name": "7528623776f85173",
  7.             "item_id": "646980239",
  8.             "s_number": "99",
  9.             "addtime": "2023-11-26\n00:33:47",
  10.             "parent_cat_id": "0",
  11.             "level": "2"
  12.         },
  13.         {
  14.             "cat_id": "480282617",
  15.             "cat_name": "5730740676f85173",
  16.             "item_id": "646980239",
  17.             "s_number": "99",
  18.             "addtime": "2023-11-26\n00:33:47",
  19.             "parent_cat_id": "0",
  20.             "level": "2"
  21.         },
  22.         {
  23.             "cat_id": "480282618",
  24.             "cat_name": "5730740676f85173/56fd51856570636e",
  25.             "item_id": "646980239",
  26.             "s_number": "99",
  27.             "addtime": "2023-11-26\n00:33:47",
  28.             "parent_cat_id": "480282617",
  29.             "level": "3"
  30.         }
  31.     ]
  32. }
复制代码





欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2