作者 lackoxygen

fix:req

@@ -22,7 +22,8 @@ @@ -22,7 +22,8 @@
22 "php": ">=7.4", 22 "php": ">=7.4",
23 "ext-json": "*", 23 "ext-json": "*",
24 "illuminate/support": "^8.0", 24 "illuminate/support": "^8.0",
25 - "illuminate/console": "^8.0" 25 + "illuminate/console": "^8.0",
  26 + "illuminate/http": "^8.0"
26 }, 27 },
27 "require-dev": { 28 "require-dev": {
28 "phpunit/phpunit": "^9.5.10", 29 "phpunit/phpunit": "^9.5.10",
@@ -7,7 +7,7 @@ use Lackoxygen\TiktokShop\Application; @@ -7,7 +7,7 @@ use Lackoxygen\TiktokShop\Application;
7 use Lackoxygen\TiktokShop\Attribute\Config\Config; 7 use Lackoxygen\TiktokShop\Attribute\Config\Config;
8 use Lackoxygen\TiktokShop\Attribute\Config\Option; 8 use Lackoxygen\TiktokShop\Attribute\Config\Option;
9 use Lackoxygen\TiktokShop\ServiceProvider; 9 use Lackoxygen\TiktokShop\ServiceProvider;
10 -use Psr\Http\Message\RequestInterface; 10 +use Illuminate\Http\Request;
11 11
12 class Verify extends Config 12 class Verify extends Config
13 { 13 {
@@ -56,10 +56,10 @@ class Verify extends Config @@ -56,10 +56,10 @@ class Verify extends Config
56 } 56 }
57 57
58 /** 58 /**
59 - * @param RequestInterface $request 59 + * @param Request $request
60 * @return bool|void 60 * @return bool|void
61 */ 61 */
62 - public function through(RequestInterface $request) 62 + public function through(Request $request)
63 { 63 {
64 $signMethod = $request->getHeaderLine('sign-method'); 64 $signMethod = $request->getHeaderLine('sign-method');
65 65