深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 33|回复: 4
打印 上一主题 下一主题

ShowDoc加载Markdown的过程

[复制链接]

234

主题

479

帖子

2322

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2322
跳转到指定楼层
楼主
发表于 2025-5-1 18:16:17 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
加载过程
  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
复制代码

回复

使用道具 举报

234

主题

479

帖子

2322

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2322
沙发
 楼主| 发表于 2025-5-1 18:20:33 | 只看该作者
  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}}
回复 支持 反对

使用道具 举报

234

主题

479

帖子

2322

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2322
板凳
 楼主| 发表于 2025-5-1 18:23:50 | 只看该作者
  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}}
回复 支持 反对

使用道具 举报

234

主题

479

帖子

2322

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2322
地板
 楼主| 发表于 2025-5-1 18:28:28 | 只看该作者
  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. }
复制代码
回复 支持 反对

使用道具 举报

234

主题

479

帖子

2322

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2322
5#
 楼主| 发表于 2025-5-10 23:16:14 | 只看该作者
ShowDoc保存Markdown的过程
  1. POST /dict/server/index.php?s=/api/page/save HTTP/1.1
  2. Host: www.nagomes.com
  3. Proxy-Connection: keep-alive
  4. Content-Length: 1979
  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://www.nagomes.com
  10. Referer: http://www.nagomes.com/dict/web/
  11. Cookie: think_language=en-US; PHPSESSID=19h874fp568pdhrh1ec73bvmf0
复制代码
page_id=260077870&item_id=646980239&page_title=%E8%AF%B4%E6%98%8E&page_content=%25E8%25BF%2599%25E6%2598%25AF%25E7%2594%25B1%25E7%25B3%25BB%25E7%25BB%259F%25E7%2594%259F%25E6%2588%2590%25E7%259A%2584APi%25E6%2596%2587%25E6%25A1%25A3%25E7%25A4%25BA%25E4%25BE%258B%25E9%25A1%25B9%25E7%259B%25AE%25E3%2580%2582%25E9%2599%25A4%25E4%25BA%2586%25E6%2589%258B%25E5%258A%25A8%25E7%25BC%2596%25E8%25BE%2591%25E6%2596%2587%25E6%25A1%25A3%25E5%25A4%2596%25EF%25BC%258C%25E4%25BD%25A0%25E8%25BF%2598%25E5%258F%25AF%25E4%25BB%25A5%25E9%2580%259A%25E8%25BF%2587%25E4%25BB%25A5%25E4%25B8%258B%25E4%25B8%2589%25E7%25A7%258D%25E6%2596%25B9%25E5%25BC%258F%25E7%2594%259F%25E6%2588%2590%25E6%2596%2587%25E6%25A1%25A3%25EF%25BC%259A%250A888888888%250A%25201.%2520%253Cp%2520style%253D%2522font-size%253A20px%253Bfont-weight%253Abold%2522%253E%253Ci%2520style%253D%2522color%253A%2523ffc107%2522%2520%253E%2520%2526%25239733%253B%2520%253C%252Fi%253E%25E4%25BD%25BF%25E7%2594%25A8RunApi%25E5%25B7%25A5%25E5%2585%25B7%25E8%2587%25AA%25E5%258A%25A8%25E7%2594%259F%25E6%2588%2590%25EF%25BC%2588%25E6%258E%25A8%25E8%258D%2590%25EF%25BC%2589%253Ci%2520style%253D%2522color%253A%2523ffc107%2522%2520%253E%2526%25239733%253B%2520%253C%252Fi%253E%253C%252Fp%253E%250A%2520%250A%2520https%253A%252F%252Fwww.showdoc.com.cn%252Frunapi%250A%250A%25202.%2520%25E4%25BD%25BF%25E7%2594%25A8%25E7%25A8%258B%25E5%25BA%258F%25E6%25B3%25A8%25E9%2587%258A%25E8%2587%25AA%25E5%258A%25A8%25E7%2594%259F%25E6%2588%2590%250A%2520%250A%2520%2520https%253A%252F%252Fwww.showdoc.com.cn%252Fpage%252F741656402509783%250A%250A%25203.%2520%25E8%2587%25AA%25E5%25B7%25B1%25E5%2586%2599%25E7%25A8%258B%25E5%25BA%258F%25E8%25B0%2583%25E7%2594%25A8%25E6%258E%25A5%25E5%258F%25A3%25E6%259D%25A5%25E7%2594%259F%25E6%2588%2590%250A%2520%250A%2520%2520https%253A%252F%252Fwww.showdoc.com.cn%252Fpage%252F102098&is_urlencode=1&cat_id=0&is_notify=0&notify_content=&user_token=d71ce31c4898fba9cf9bececf2cb0ef0486aa8aae6cb58f1d15055945cf66c13
  1. HTTP/1.1 200 OK
  2. Server: wts/1.7.4
  3. Date: Sat, 10 May 2025 15:05:36 GMT
  4. Content-Type: text/html; charset=UTF-8
  5. Transfer-Encoding: chunked
  6. Connection: keep-alive
  7. Vary: Accept-Encoding
  8. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  9. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  10. Pragma: no-cache
  11. Vary: Accept-Encoding
复制代码


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-6-28 06:04 , Processed in 0.069985 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表