Skip to content

Commit 335ac25

Browse files
author
Colin Yang
committed
Updated project README and plugin READMEs
1 parent 47a00ac commit 335ac25

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ TPV支持使用插件,目前内置插件有:
5959
```
6060
git clone https://github.com/ColinTree/tinywebdb-php-vue.git
6161
cd tinywebdb-php-vue
62+
git submodule update --init
6263
```
6364

6465
2. 配置`plugins.json`,格式参照源码中的样例 [plugins.sample.json](https://github.com/ColinTree/tinywebdb-php-vue/blob/master/plugins.sample.json)
6566
3. 构建
6667

6768
```
68-
git submodule update --init
6969
npm run build
7070
```
7171

@@ -220,4 +220,3 @@ STATUS_EXPORT_XLSX_UNSUPPORTED | 导出数据(仅限xlsx) | 61 | 200 | 服务器
220220
设置Id | 设置名 | 接受的值
221221
-|-|-
222222
all_category | 标签浏览页·分类列表 | 使用井号#分隔的文本
223-
allow_browser | 允许来自浏览器的读写 | 不是`false`默认为`true`

plugins/leaderboard/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@
2121
* 参数
2222
* board - 排行榜id
2323
* 返回值
24-
* `[ { "name": "分数得主", "score": "分数" }, ... ]`
24+
* `[ { "name": "分数得主", "score": "分数" }, ... ]`
25+
26+
## 设置表
27+
28+
设置Id | 设置名 | 接受的值
29+
-|-|-
30+
leaderboard_allow_create | 允许客户端创建排行榜 | `true``false`,默认为`false`

plugins/tinywebdb/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,11 @@
2424
* tag
2525
* value
2626
* 返回值
27-
* [ "STORED", tag, value / 错误信息 ]
27+
* [ "STORED", tag, value / 错误信息 ]
28+
29+
## 设置表
30+
31+
设置Id | 设置名 | 接受的值
32+
-|-|-
33+
tinywebdb_allow_browser | 允许来自浏览器的读写 | `true``false`,默认为`true`
34+
tinywebdb_special_tags | 特殊标签设置 | JSON格式文本,如 `{"count":"disabled", "getall":"disabled", "listget":"disabled", "search":"disabled"}`,默认都是disabled

0 commit comments

Comments
 (0)