thinkphp3.2.3 Action参数绑定a,c参数错误或者未定义

浏览:1444 发布日期:2016/12/16 分类:求助交流 关键字: bug 获取参数 URL
thinkphp3.2.3 Action参数绑定a,c参数错误或者未定义
http://tp3.top/index.php/home/Test/index/a/1/b/2/c/3/d/4/e/5/f/6/g/7/h/8/i/9/j/10/k/11/l/12/t/13/n/14/r/15/u/16/w/17/s/18/
获取不到URL中的a,c两个参数的值<?php
namespace Home\Controller;

use Think\Controller;
class TestController extends Controller
{
    function index($a,$b,$c,$d,$e,$f,$g,$h,$i,$j,$k,$l,$t,$n,$r,$u,$w,$s){
        echo $a."<br>";
        echo $b."<br>";
        echo $c."<br>";
        echo $d."<br>";
        echo $e."<br>";
        echo $f."<br>";
        echo $g."<br>";
        echo $h."<br>";
        echo $i."<br>";
        echo $j."<br>";
        echo $k."<br>";
        echo $l."<br>";
        echo $t."<br>";
        echo $n."<br>";
        echo $r."<br>";
        echo $u."<br>";
        echo $w."<br>";
        echo $s."<br>";
    }
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>