xyf90314
- xyf90314 2015-10-14 已签到连续签到5天,获得了20个金钱
我的还是不行
'urlManager' => ['enablePrettyUrl' => true, 'showScriptName' => false,//隐藏index.php //‘enableStrictParsing‘ => false, // 'suffix' => '.html',//后缀,如果设置了此项,那么浏览器地址栏就必须带上.html后缀,否则会报404错误 'rules' => [ // '<controller:\w+>/<action:\w+>'=>'<controller>/<action>', '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>', '<controller:\w+>/<action:\w+>'=>'<controller>/<action>', ], ],
Options +FollowSymLinks
IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php
- xyf90314 回答了问题 控制器的方法中CJSON返回不了数组
我试过可以输出啊
- xyf90314 2015-10-13 已签到连续签到4天,获得了20个金钱
- xyf90314 2015-10-12 已签到连续签到3天,获得了15个金钱
- xyf90314 2015-10-11 已签到连续签到2天,获得了10个金钱
- xyf90314 2015-10-10 已签到连续签到1天,获得了5个金钱