Example #1
0
 public function behaviors()
 {
     return ['csrf' => ['class' => BCrdf::className(), 'controller' => $this, 'actions' => ['invest', 'userredeem', 'withdraw', 'xproduct', 'grabcoupons', 'useraise', 'log', 'kmoney', 'seetotal', 'phoneregister', 'register', 'login', 'logout', 'authentication', 'isauthentic', 'returnurl', 'changepassword', 'phonerep', 'resetpassword', 'productlist', 'phonecha', 'bindingbankcard', 'bankconfim', 'recharge', 'rechargeconfirm', 'usercollect', 'profitlog', 'rechargelog', 'investlog', 'withdrawalslog', 'redeemlog', 'getbankcard', 'mcentor', 'feedback', 'getuserinfo', 'gettodaysignin', 'getyesterdaysignin', 'getusersignin', 'getyesterdayuser', 'signin', 'issigntoday', 'ignoreall', 'ismsg', 'isreading', 'readingloog', 'isexitmsg', 'usermsgcentor', 'getsignin', 'getexpgoldlog', 'getlunbo', 'getradlist', 'getuserredpacket', 'checktodaydeposit', 'getrecommendrelation', 'rechargeresult', 'getsinglearticle', 'getcategoryarticles', 'getstart']]];
 }
Example #2
0
 public function behaviors()
 {
     return ['csrf' => ['class' => BCrdf::className(), 'controller' => $this, 'actions' => ['loglist']]];
 }
Example #3
0
 public function behaviors()
 {
     return ['csrf' => ['class' => BCrdf::className(), 'controller' => $this, 'actions' => ['returnurl']], 'access' => ['class' => \yii\filters\AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['@']]]]];
 }