Ken 2 天之前
父节点
当前提交
4ecbd08bbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Http/Controllers/api/Home.php

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

@@ -119,6 +119,7 @@ class Home extends Controller
     {
 //        $target = 27;
         $target =  request()->input('a',15);
+        $target= intval($target);
         echo $target;
         echo "\n";
         $matchingNumbers = $this->getMatchingNumbers($target);