All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openea.eap.server.controller.DefaultController Maven / Gradle / Ivy

package org.openea.eap.server.controller;

import org.springframework.web.bind.annotation.RestController;

/**
 * 默认 Controller,解决部分 module 未开启时的 404 提示。
 * 例如说,/bpm/** 路径,工作流
 *
 */
@RestController
public class DefaultController {

//    @RequestMapping("/admin-api/bpm/**")
//    public CommonResult bpm404() {
//        return CommonResult.error(NOT_IMPLEMENTED.getCode(),
//                "[工作流模块 eap-module-bpm - 已禁用][参考 https://doc.iocoder.cn/bpm/ 开启]");
//    }


//    @RequestMapping(value = {"/admin-api/report/**"})
//    public CommonResult report404() {
//        return CommonResult.error(NOT_IMPLEMENTED.getCode(),
//                "[报表模块 eap-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]");
//    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy