如题,现在是一律403,输出
throw new CHttpException(403,Yii::t('yii','You are not authorized to perform this action.'));
建议在每规则后面可以自定义错误信息。
如题,现在是一律403,输出
throw new CHttpException(403,Yii::t('yii','You are not authorized to perform this action.'));
建议在每规则后面可以自定义错误信息。
你能提交一个ticket么?谢谢
已提交,谢谢
虽然ticket已提交,但还是希望强哥,能尽快完善
后台权限判断里,这个用的比较多