@@ -58,29 +58,29 @@ fba 内所有官方实现都同时兼容 mysql 和 postgresql,但我们不对
5858
5959::: file-tree
6060
61- - xxx 插件名 <Badge type =" danger " text =" 必须 " />
62- - api/ 接口 <Badge type =" danger " text =" 必须 " />
63- - crud/ CRUD
64- - model 模型
65- - __ init__ .py 在此文件内导入所有模型类 <Badge type =" danger " text =" 目录存在则必须 " />
61+ - xxx # 插件名 <Badge type =" danger " text =" 必须 " />
62+ - api/ # 接口 <Badge type =" danger " text =" 必须 " />
63+ - crud/ # CRUD
64+ - model # 模型
65+ - __ init__ .py # 在此文件内导入所有模型类 <Badge type =" danger " text =" 目录存在则必须 " />
6666 - …
67- - schema/ 数据传输
68- - service/ 服务
69- - sql 如果插件需要执行 SQL 则建议
67+ - schema/ # 数据传输
68+ - service/ # 服务
69+ - sql # 如果插件需要执行 SQL 则建议
7070 - mysql
71- - destroy.sql 自增 id 销毁(卸载自动执行)
72- - destroy_snowflake.sql 雪花 id 销毁
73- - init.sql 自增 id 初始化(安装自动执行)
74- - init_snowflake.sql 雪花 id 初始化
71+ - destroy.sql # 自增 id 销毁(卸载自动执行)
72+ - destroy_snowflake.sql # 雪花 id 销毁
73+ - init.sql # 自增 id 初始化(安装自动执行)
74+ - init_snowflake.sql # 雪花 id 初始化
7575 - postgresql
76- - ... 文件命名与 mysql 相同
77- - utils/ 工具包
78- - .env.example 环境变量
79- - __ init__ .py 作为 python 包保留 <Badge type =" danger " text =" 必须 " />
80- - … 更多内容,例如 enums.py...
81- - plugin.toml 插件配置文件 <Badge type =" danger " text =" 必须 " />
82- - README.md 插件使用说明和您的联系方式 <Badge type =" danger " text =" 必须 " />
83- - requirements.txt 依赖包文件
76+ - ... # 文件命名与 mysql 相同
77+ - utils/ # 工具包
78+ - .env.example # 环境变量
79+ - __ init__ .py # 作为 python 包保留 <Badge type =" danger " text =" 必须 " />
80+ - … # 更多内容,例如 enums.py...
81+ - plugin.toml # 插件配置文件 <Badge type =" danger " text =" 必须 " />
82+ - README.md # 插件使用说明和您的联系方式 <Badge type =" danger " text =" 必须 " />
83+ - requirements.txt # 依赖包文件
8484
8585:::
8686
@@ -259,23 +259,23 @@ IDE 获取全局配置键入提示,这是必需的,相反,你们将无法
259259
260260::: file-tree
261261
262- - xxx 插件名
263- - api 接口
262+ - xxx # 插件名
263+ - api # 接口
264264 - index.ts
265- - langs 多语言
265+ - langs # 多语言
266266 - en-US
267267 - 插件名.json
268268 - zh-CN
269269 - 插件名.json
270- - public
271- - images/ 页面效果预览
272- - routes 路由
270+ - public
271+ - images/ # 页面效果预览
272+ - routes # 路由
273273 - index.ts
274- - views 视图
274+ - views # 视图
275275 - index.vue
276276 - …
277- - … 更多内容
278- - plugin.toml 插件配置文件 <Badge type =" danger " text =" 必须 " />
277+ - … # 更多内容
278+ - plugin.toml # 插件配置文件 <Badge type =" danger " text =" 必须 " />
279279
280280:::
281281
@@ -305,4 +305,4 @@ tags = ['']
305305
306306::: caution
307307非必要情况下,插件代码中尽量不要引用架构中的现有方法,如果架构中的现有方法发生变更,则插件也必须同步变更,否则插件将被损坏
308- :::
308+ :::
0 commit comments