| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 | <?php/** * FecShop file. * * @link http://www.fecshop.com/ * @copyright Copyright (c) 2016 FecShop Software LLC * @license http://www.fecshop.com/license/ */namespace fecadmin\controllers;use Yii;use yii\helpers\Url;use fecadmin\FecadminbaseController;/** * @author Terry Zhao <2358269014@qq.com> * @since 1.0 */class RoleController extends FecadminbaseController{	# 权限    public function actionManager()    {		$data = $this->getBlock()->getLastData();		return $this->render($this->action->id,$data);	}		# 权限    public function actionManageredit()    {		$data = $this->getBlock()->getLastData();		return $this->render($this->action->id,$data);	}		# 权限    public function actionManagereditsave()    {		$this->getBlock("manageredit")->save();			}		# 权限    public function actionManagerdelete()    {		$this->getBlock("manageredit")->delete();			}			}
 |