作者 竞泽

Merge branch 'master' of 47.107.73.162:lackoxygen/tiktok_shop

@@ -2,11 +2,14 @@ @@ -2,11 +2,14 @@
2 2
3 ```composer 3 ```composer
4 "repositories": { 4 "repositories": {
5 - "lackoxygen/top-warehouse": { 5 + "lackoxygen/tiktok_shop": {
6 "type": "git", 6 "type": "git",
7 "url": "http://47.107.73.162:8099/lackoxygen/tiktok_shop.git" 7 "url": "http://47.107.73.162:8099/lackoxygen/tiktok_shop.git"
8 }, 8 },
9 - } 9 + },
  10 + "config": {
  11 + "secure-http": false
  12 + },
10 ``` 13 ```
11 14
12 # 安装 15 # 安装
@@ -20,8 +23,8 @@ composer require lackoxygen/tiktok_shop @@ -20,8 +23,8 @@ composer require lackoxygen/tiktok_shop
20 ``` 23 ```
21 //路径 config/tiktok.shop.php 24 //路径 config/tiktok.shop.php
22 [ 25 [
23 - 'app_key' => env('TIKTOK_APP_KEY', '7044793792079201799'),  
24 - 'app_secret' => env('TIKTOK_APP_SECRET', '303fe8fc-5986-4be3-a210-4c4c217880a1'), 26 + 'app_key' => env('TIKTOK_APP_KEY', ''),
  27 + 'app_secret' => env('TIKTOK_APP_SECRET', ''),
25 'enable_mock' => env('TIKTOK_ENABLE_MOCK', false), 28 'enable_mock' => env('TIKTOK_ENABLE_MOCK', false),
26 'base_uri' => env('TIKTOK_BASE_URI', 'https://openapi-sandbox.jinritemai.com'), 29 'base_uri' => env('TIKTOK_BASE_URI', 'https://openapi-sandbox.jinritemai.com'),
27 'timeout' => env('TIKTOK_TIMEOUT', 30), 30 'timeout' => env('TIKTOK_TIMEOUT', 30),
@@ -19,8 +19,7 @@ @@ -19,8 +19,7 @@
19 } 19 }
20 ], 20 ],
21 "require": { 21 "require": {
22 - "php": ">=7.4",  
23 - "illuminate/support": "^5.8" 22 + "php": ">=7.4"
24 }, 23 },
25 "require-dev": { 24 "require-dev": {
26 "phpunit/phpunit": "^9.5.10" 25 "phpunit/phpunit": "^9.5.10"