正在显示
1 个修改的文件
包含
35 行增加
和
0 行删除
README.md
0 → 100644
| 1 | +# 配置gitlab仓库 | ||
| 2 | + | ||
| 3 | +```composer | ||
| 4 | + "repositories": { | ||
| 5 | + "lackoxygen/tiktok_open": { | ||
| 6 | + "type": "git", | ||
| 7 | + "url": "http://47.107.73.162:8099/lackoxygen/tiktok_open_sdk.git" | ||
| 8 | + }, | ||
| 9 | + }, | ||
| 10 | + "config": { | ||
| 11 | + "secure-http": false | ||
| 12 | + }, | ||
| 13 | +``` | ||
| 14 | + | ||
| 15 | +# 安装 | ||
| 16 | + | ||
| 17 | +``` | ||
| 18 | +composer require lackoxygen/tiktok_open:v1.0.0.x | ||
| 19 | +``` | ||
| 20 | + | ||
| 21 | +# 配置文件 | ||
| 22 | + | ||
| 23 | +``` | ||
| 24 | +发布配置 config/tiktok.open.php | ||
| 25 | +``` | ||
| 26 | + | ||
| 27 | +# 使用方法 | ||
| 28 | + | ||
| 29 | +1. 使用 | ||
| 30 | + | ||
| 31 | +```php | ||
| 32 | +app('tiktok.mini'); | ||
| 33 | + | ||
| 34 | +app('tiktok.wap'); | ||
| 35 | +``` |
-
请 注册 或 登录 后发表评论