Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
injahow committed Aug 6, 2021
1 parent c58c42a commit 8f8d158
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,20 @@ require __DIR__ . '/src/Meting.php';

```php
<?php
// 设置API路径
define('API_URI', '你的API地址');
// ...
// 设置API路径(可默认)
define('API_URI', api_uri());
// 设置中文歌词
define('TLYRIC', true);
// 设置歌单文件缓存及时间
define('CACHE', false);
define('CACHE_TIME', 86400);
// 设置短期缓存-需要安装apcu
define('APCU_CACHE', false);
// 设置AUTH密钥-更改'meting-secret'
define('AUTH', false);
define('AUTH_SECRET', 'meting-secret');

......
```

## Demo
Expand Down

0 comments on commit 8f8d158

Please sign in to comment.