|
|
|
# 配置gitlab仓库
|
|
|
|
|
|
|
|
```composer
|
|
|
|
"repositories": {
|
|
|
|
"lackoxygen/tiktok_open": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "http://47.107.73.162:8099/lackoxygen/tiktok_open_sdk.git"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"secure-http": false
|
|
|
|
},
|
|
|
|
```
|
|
|
|
|
|
|
|
# 安装
|
|
|
|
|
|
|
|
```
|
|
|
|
composer require lackoxygen/tiktok_open:v1.0.0.x
|
|
|
|
```
|
|
|
|
|
|
|
|
# 配置文件
|
|
|
|
|
|
|
|
```
|
|
|
|
发布配置 config/tiktok.open.php
|
|
|
|
```
|
|
|
|
|
|
|
|
# 使用方法
|
|
|
|
|
|
|
|
1. 使用
|
|
|
|
|
|
|
|
```php
|
|
|
|
app('tiktok.mini');
|
|
|
|
|
|
|
|
app('tiktok.wap');
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|