更新Token列表

pull/18/head 2.1.0
icret 2021-05-04 22:49:28 +08:00
parent e0ad9f1670
commit 6b2d96e7c9
2 changed files with 21 additions and 6 deletions

View File

@ -127,6 +127,22 @@ if (!is_online()) {
</button>
</form>
</div>
<div class="col-md-4">
<table class="table table-hover table-bordered table-condensed table-responsive">
<thead>
<tr>
<th>当前可用Token列表</th>
</tr>
</thead>
<tbody>
<?php
$key = count($tokenList);
for ($x = 0; $x < $key; $x++) {
echo '<tr><td>' . $tokenList[$x] . '</td></tr>';
} ?>
</tbody>
</table>
</div>
<!-- API上传测试
<div class="col-md-4">

View File

@ -1,12 +1,11 @@
<?php
/*
* Token list 请在此填写需要配置Token的用户 前边编号有助于识别上传者ID
* 格式: ID数字=> Token,(注意后边',')
* 格式: ID数字需要从0开始,顺序添加=> Token(注意后边',')
*/
$tokenList = array(
1 => '8337effca0ddfcd9c5899f3509b23657',
2 => '1c17b11693cb5ec63859b091c5b9c1b2',
3 => '62485ede33bc898d38b9987eb3860ce5',
);
0 => '8337effca0ddfcd9c5899f3509b23657',
1 => '1c17b11693cb5ec63859b091c5b9c1b2',
2 => '62485ede33bc898d38b9987eb3860ce5',
);