类 ModuleController

java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.engine.web.controller.ModuleController

@RestController("engine-web-module") @RequestMapping("/engine/web/module") @ConditionalOnExpression("${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.module.enabled:true}") public class ModuleController extends BaseController
模块引擎
从以下版本开始:
2024/5/13 14:31
作者:
AaronFung
  • 构造器详细资料

    • ModuleController

      public ModuleController()
  • 方法详细资料

    • read

      @GetMapping("/read") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> read(@RequestParam String refid) throws Exception
      模块读取接口 根据提供的模块地址(refid)读取模块详细信息,包括模块表单、网格和布局等。
      参数:
      refid - 模块地址,格式为"/应用名/模块名!其他信息",用于唯一标识一个模块
      返回:
      返回包含模块详细信息的ApiResult对象,数据以JSONObject形式封装
      抛出:
      Exception - 如果模块地址为空、格式非法或模块不存在,将抛出异常