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);