EditController.class.php 431 Bytes
<?php
/**
 * Created by IntelliJ IDEA.
 * User: zhuxun37
 * Date: 2017/5/11
 * Time: 下午3:15
 */

namespace Apicp\Controller\Role;


use Common\Service\RoleService;

class EditController extends AbstractController
{

    public function Index_post()
    {

        $roleService = new RoleService();
        $roleService->edit($this->_result, I('post.'));

        clear_sys_cache(['Common.Role']);

        return true;
    }

}