|
|
@@ -20,62 +20,12 @@ import static cn.iocoder.byzs.framework.common.exception.enums.GlobalErrorCodeCo
|
|
|
@Slf4j
|
|
|
public class DefaultController {
|
|
|
|
|
|
- @RequestMapping("/admin-api/bpm/**")
|
|
|
- public CommonResult<Boolean> bpm404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[工作流模块 byzs-module-bpm - 已禁用][请联系管理员开启:bpm 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping("/admin-api/mp/**")
|
|
|
- public CommonResult<Boolean> mp404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[微信公众号 byzs-module-mp - 已禁用][请联系管理员开启:mp/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping(value = { "/admin-api/product/**", // 商品中心
|
|
|
- "/admin-api/trade/**", // 交易中心
|
|
|
- "/admin-api/promotion/**" }) // 营销中心
|
|
|
- public CommonResult<Boolean> mall404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[商城系统 byzs-module-mall - 已禁用][请联系管理员开启:mall/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping("/admin-api/erp/**")
|
|
|
- public CommonResult<Boolean> erp404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[ERP 模块 byzs-module-erp - 已禁用][请联系管理员开启:erp/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping("/admin-api/crm/**")
|
|
|
- public CommonResult<Boolean> crm404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[CRM 模块 byzs-module-crm - 已禁用][请联系管理员开启:crm/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping(value = { "/admin-api/report/**"})
|
|
|
- public CommonResult<Boolean> report404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[报表模块 byzs-module-report - 已禁用][请联系管理员开启:report 模块");
|
|
|
- }
|
|
|
-
|
|
|
- @RequestMapping(value = { "/admin-api/pay/**"})
|
|
|
- public CommonResult<Boolean> pay404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[支付模块 byzs-module-pay - 已禁用][请联系管理员开启:pay/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
@RequestMapping(value = { "/admin-api/ai/**"})
|
|
|
public CommonResult<Boolean> ai404() {
|
|
|
return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
"[AI 大模型 byzs-module-ai - 已禁用][请联系管理员开启:ai/build 模块");
|
|
|
}
|
|
|
|
|
|
- @RequestMapping(value = { "/admin-api/iot/**"})
|
|
|
- public CommonResult<Boolean> iot404() {
|
|
|
- return CommonResult.error(NOT_IMPLEMENTED.getCode(),
|
|
|
- "[IoT 物联网 byzs-module-iot - 已禁用][请联系管理员开启:iot/build 模块");
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 测试接口:打印 query、header、body
|
|
|
*/
|