类 DesignerController
java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.dev.web.dev.designer.DesignerController
@RestController("dev-designer")
@RequestMapping("/dev/designer")
public class DesignerController
extends BaseController
WEB设计器
- 从以下版本开始:
- 2024/04/08
- 作者:
- AaronFung
-
字段概要
从类继承的字段 net.sohelp.boot.admin.core.base.BaseController
request, response -
构造器概要
构造器 -
方法概要
从类继承的方法 net.sohelp.boot.admin.core.base.BaseController
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, response, responseStream, success, success, success, success, validateToken
-
构造器详细资料
-
DesignerController
public DesignerController()
-
-
方法详细资料
-
save
@PostMapping("/save") @OperationLog(value="\u4fdd\u5b58\u8868\u5355\u8bbe\u8ba1", refid="refid") @Permission("DEVELOPER") @Transactional(rollbackFor=java.lang.Exception.class) public ApiResult<String> save(@RequestBody LayoutVO layoutVO) 保存表单 该接口用于保存表单设计相关的数据,通过传入的LayoutVO对象进行处理。- 参数:
layoutVO- 表单设计对象,包含refid、code、toolbar等属性- 返回:
- 返回ApiResult
对象,包含操作结果信息
-
read
@GetMapping("/read") @Permission("ADMIN") public ApiResult<LayoutVO> read(@RequestParam(required=false) String refid) throws Exception 读取表单设计接口 根据提供的refid读取对应的表单设计信息- 参数:
refid- 表单设计的唯一标识符,格式为"/应用/模块!功能"- 返回:
- 返回包含表单设计信息的ApiResult对象
- 抛出:
Exception- 如果refid参数为空、格式不规范或表单不存在,则抛出异常
-