mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
📝 试试流程图)
This commit is contained in:
parent
7aac134d5d
commit
cdc8de9619
@ -1,5 +1,6 @@
|
|||||||
import { defineUserConfig } from "vuepress";
|
import { defineUserConfig } from "vuepress";
|
||||||
import theme from "./theme.js";
|
import theme from "./theme.js";
|
||||||
|
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance";
|
||||||
|
|
||||||
export default defineUserConfig({
|
export default defineUserConfig({
|
||||||
base: "/",
|
base: "/",
|
||||||
@ -7,6 +8,11 @@ export default defineUserConfig({
|
|||||||
lang: "zh-CN",
|
lang: "zh-CN",
|
||||||
title: "NoneBot Bison",
|
title: "NoneBot Bison",
|
||||||
description: "NoneBot Bison 文档",
|
description: "NoneBot Bison 文档",
|
||||||
|
plugins: [
|
||||||
|
mdEnhancePlugin({
|
||||||
|
mermaid: true,
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
|
||||||
theme,
|
theme,
|
||||||
|
|
||||||
|
@ -65,4 +65,33 @@ graph TD
|
|||||||
A[获取订阅] --> B[获取订阅的Cookie]
|
A[获取订阅] --> B[获取订阅的Cookie]
|
||||||
B --> C[验证Cookie]
|
B --> C[验证Cookie]
|
||||||
C --> D[返回Cookie]
|
C --> D[返回Cookie]
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
|
||||||
|
zenuml
|
||||||
|
title 一份快递是如何投递的
|
||||||
|
Scheduler #661ae6
|
||||||
|
Platform #2b2d30
|
||||||
|
ClientManager #FFEBE6
|
||||||
|
DB #f26522
|
||||||
|
Internet #0747A6
|
||||||
|
@Starter(Scheduler)
|
||||||
|
Scheduler.exec_fetch{
|
||||||
|
Post = Platform.do_fetch_new_post(SubUnit) {
|
||||||
|
Platform.get_sub_list(Target){
|
||||||
|
client = ClientManager.get_client(Target){
|
||||||
|
choose(){
|
||||||
|
cookies = DB.get_cookies()
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
res = Internet.client.get(Target)
|
||||||
|
ClientManager.submit_status(){
|
||||||
|
DB.update()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
@ -15,5 +15,8 @@
|
|||||||
"vue": "^3.5.6",
|
"vue": "^3.5.6",
|
||||||
"vuepress": "2.0.0-rc.15",
|
"vuepress": "2.0.0-rc.15",
|
||||||
"vuepress-theme-hope": "2.0.0-rc.52"
|
"vuepress-theme-hope": "2.0.0-rc.52"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"vuepress-plugin-md-enhance": "2.0.0-rc.57"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user