接口 ISysParamsController

所有超级接口:
io.github.mangocrisp.spring.taybct.tool.core.bean.controller.BaseController<SysParams,ISysParamsService>, io.github.mangocrisp.spring.taybct.tool.core.bean.controller.FullBaseController<SysParams,ISysParamsService,Long,SysParams,SysParams,SysParams>, io.github.mangocrisp.spring.taybct.tool.core.bean.ITypeConvert
所有已知实现类:
SysParamsControllerRegister

@RestControllerRegister("${taybct.serve.taybct-system.context-path}{version}/params") @ApiVersion public interface ISysParamsController extends io.github.mangocrisp.spring.taybct.tool.core.bean.controller.BaseController<SysParams,ISysParamsService>
系统参数相关接口
从以下版本开始:
1.0.0
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    default io.github.mangocrisp.spring.taybct.tool.core.result.R<?>
    cache(@NotNull String paramsKey)
    获取系统参数(单)
    default io.github.mangocrisp.spring.taybct.tool.core.result.R<?>
    cache(@NotNull String[] paramsKey)
    获取系统参数(多)
    default io.github.mangocrisp.spring.taybct.tool.core.result.R<?>
    cleanCache(Set<String> paramsKeySet)
    清除缓存
    default io.github.mangocrisp.spring.taybct.tool.core.result.R<com.baomidou.mybatisplus.core.metadata.IPage<? extends SysParams>>
    page(Map<String,Object> params)
     

    从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.controller.BaseController

    getBaseService

    从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.controller.FullBaseController

    add, delete, deleteBatch, detail, getResource, list, list, page, saveBatch, updateAllField, updateAllFieldBatch, updateAssignField, updateAssignFieldBatch

    从接口继承的方法 io.github.mangocrisp.spring.taybct.tool.core.bean.ITypeConvert

    convert2SomeResult, convert2SomeResultCollection, convert2SomeResultPage, entityCollectionConvert2SomeCollection, entityConvert2Some, entityPageConvert2OutPage, someCollectionConvert2EntityCollection, someConvert2Entity
  • 方法详细资料

    • page

      @WebLog @SafeConvert(safeOut=SysParamsVO.class, resultType=Page) default io.github.mangocrisp.spring.taybct.tool.core.result.R<com.baomidou.mybatisplus.core.metadata.IPage<? extends SysParams>> page(@RequestParam(required=false) Map<String,Object> params)
      指定者:
      page 在接口中 io.github.mangocrisp.spring.taybct.tool.core.bean.controller.FullBaseController<SysParams,ISysParamsService,Long,SysParams,SysParams,SysParams>
    • cache

      @PostMapping("cache") default io.github.mangocrisp.spring.taybct.tool.core.result.R<?> cache(@NotNull @RequestBody @NotNull String[] paramsKey)
      获取系统参数(多)
      参数:
      paramsKey - 参数键
      返回:
      R
      从以下版本开始:
      1.0.0
    • cache

      @GetMapping("cache/{paramsKey}") default io.github.mangocrisp.spring.taybct.tool.core.result.R<?> cache(@NotNull @PathVariable @NotNull String paramsKey)
      获取系统参数(单)
      参数:
      paramsKey - 参数键
      返回:
      R
      从以下版本开始:
      1.0.0
    • cleanCache

      @DeleteMapping("cache") default io.github.mangocrisp.spring.taybct.tool.core.result.R<?> cleanCache(@Nullable @RequestBody Set<String> paramsKeySet)
      清除缓存
      参数:
      paramsKeySet - 需要删除的参数 key
      返回:
      是否删除成功