类 PermitController

所有已实现的接口:
org.springframework.beans.factory.InitializingBean

@RestController @RequestMapping("/permit") public class PermitController extends SystemController
公共权限操作方法。

在该对象里面的方法,都无需配置菜单权限,只要登录用户都有权使用。
     1)比如:获取字典树等
 
作者:
时克英
  • 构造器详细资料

    • PermitController

      @Autowired public PermitController(CodeServiceImpl codeService)
  • 方法详细资料

    • getConfigFrontDomain

      @RequestMapping("/config/front/domain") public com.walker.web.ResponseValue getConfigFrontDomain()
      获取移动端访问站点域名(地址),如:localhost:8080
      返回:
    • downloadLocalFile

      @RequestMapping("/file/{id}") public void downloadLocalFile(@PathVariable String id) throws Exception
      根据文件id下载本地文件
      参数:
      id - 文件id(系统存储的唯一编号)
      抛出:
      Exception
    • dictTypeList

      @RequestMapping("/dict/data/type/{dictType}") public com.walker.web.ResponseValue<List<com.iplatform.model.po.S_dict_data>> dictTypeList(@PathVariable String dictType)
      根据代码表名字,查询包含的代码项集合。
      参数:
      dictType -
      返回:
    • selectDictTreeList

      @RequestMapping("/dict/list_tree/{dictType}") public com.walker.web.ResponseValue selectDictTreeList(@PathVariable String dictType)
      返回代码树结构(列表集合),由前端展示组装。
      参数:
      dictType - 数据字典类型
      返回: