| | |
| | | * 默认 Controller,解决部分 module 未开启时的 404 提示。 |
| | | * 例如说,/bpm/** 路径,工作流 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @RestController |
| | | @Slf4j |
| | |
| | | "[CRM 模块 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); |
| | | } |
| | | |
| | | @RequestMapping(value = { "/admin-api/mes/**"}) |
| | | public CommonResult<Boolean> mes404() { |
| | | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| | | "[MES 系统 yudao-module-mes - 已禁用][参考 https://doc.iocoder.cn/mes/build/ 开启]"); |
| | | } |
| | | // MES 模块已启用,移除兜底映射 |
| | | // @RequestMapping(value = { "/admin-api/mes/**"}) |
| | | // public CommonResult<Boolean> mes404() { |
| | | // return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| | | // "[MES 系统 yudao-module-mes - 已禁用][参考 https://doc.iocoder.cn/mes/build/ 开启]"); |
| | | // } |
| | | |
| | | @RequestMapping(value = { "/admin-api/im/**"}) |
| | | public CommonResult<Boolean> im404() { |