http://域名/模型名称/控制器名称/方法名称?var=value
http://localhost/home/user/profile?var=value
http://localhost/home/user/info?uid=1
在thinkphp3.2里面要怎么配置??
还需要重定向如下模式(tp3.2要如何配置):
RewriteRule ^/?home/?$ index.php?m=Mychart&c=Index&a=index&%{QUERY_STRING} [L]
RewriteRule ^/?hot/?$ index.php?m=Mychart&c=Hot&a=index&%{QUERY_STRING} [L]
最佳答案