Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon authored Oct 14, 2023
1 parent 4c21192 commit aaa9159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
- `needs`: 插件依赖,一个数组,每个依赖为一个对象,包含以下字段:
- `key`: 依赖 key,对应该项依赖在配置文件中的名称,例如 `apikey`
- `display`: 依赖显示名称,对应用户显示的名称,例如 `API Key`
- `type`: 组件类型 `input` | `select`
- `options`: 选项列表(仅select组件需要),例如 `{"engine_a":"Engina A","engine_b":"Engina B"}`
- `language`: 插件支持的语言映射,将 pot 的语言代码和插件发送请求时的语言代码一一对应

### 3. 插件编写/编译
Expand Down

0 comments on commit aaa9159

Please sign in to comment.