Ken пре 2 дана
родитељ
комит
cca98e72a9
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      app/Http/Controllers/api/Home.php

+ 2 - 1
app/Http/Controllers/api/Home.php

@@ -117,7 +117,8 @@ class Home extends Controller
 
     public function test()
     {
-        $target = 15;
+//        $target = 27;
+        $target =  request()->input('a',15);
         $matchingNumbers = $this->getMatchingNumbers($target);
         if ($matchingNumbers !== null) {
             echo "找到的数字是:" . implode(", ", $matchingNumbers);