Commit 2859f0ef4870c7a9ec314eb4d3d5b75b0bd18b72
1 parent
74b73e4c
feat(wms):增加文档说明
Showing
5 changed files
with
58 additions
and
10 deletions
pom.xml
| @@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
| 25 | <!-- <module>yudao-module-erp</module>--> | 25 | <!-- <module>yudao-module-erp</module>--> |
| 26 | <!-- <module>yudao-module-iot</module>--> | 26 | <!-- <module>yudao-module-iot</module>--> |
| 27 | <!-- <module>yudao-module-mes</module>--> | 27 | <!-- <module>yudao-module-mes</module>--> |
| 28 | - <module>yudao-module-wms</module> | 28 | +<!-- <module>yudao-module-wms</module>--> |
| 29 | <!-- 请参考 https://doc.iocoder.cn/ai/build/ 文档,完成 AI 模块的启动!!! --> | 29 | <!-- 请参考 https://doc.iocoder.cn/ai/build/ 文档,完成 AI 模块的启动!!! --> |
| 30 | <!-- <module>yudao-module-ai</module>--> | 30 | <!-- <module>yudao-module-ai</module>--> |
| 31 | </modules> | 31 | </modules> |
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/banner/core/BannerApplicationRunner.java
| @@ -46,10 +46,18 @@ public class BannerApplicationRunner implements ApplicationRunner { | @@ -46,10 +46,18 @@ public class BannerApplicationRunner implements ApplicationRunner { | ||
| 46 | if (isNotPresent("cn.iocoder.yudao.module.erp.framework.web.config.ErpWebConfiguration")) { | 46 | if (isNotPresent("cn.iocoder.yudao.module.erp.framework.web.config.ErpWebConfiguration")) { |
| 47 | System.out.println("[ERP 系统 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | 47 | System.out.println("[ERP 系统 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); |
| 48 | } | 48 | } |
| 49 | + // WMS 仓库管理系统 | ||
| 50 | + if (isNotPresent("cn.iocoder.yudao.module.wms.framework.web.config.WmsWebConfiguration")) { | ||
| 51 | + System.out.println("[WMS 仓库管理系统 yudao-module-wms - 已禁用][参考 https://doc.iocoder.cn/wms/build/ 开启]"); | ||
| 52 | + } | ||
| 49 | // CRM 系统 | 53 | // CRM 系统 |
| 50 | if (isNotPresent("cn.iocoder.yudao.module.crm.framework.web.config.CrmWebConfiguration")) { | 54 | if (isNotPresent("cn.iocoder.yudao.module.crm.framework.web.config.CrmWebConfiguration")) { |
| 51 | System.out.println("[CRM 系统 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); | 55 | System.out.println("[CRM 系统 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); |
| 52 | } | 56 | } |
| 57 | + // MES 系统 | ||
| 58 | + if (isNotPresent("cn.iocoder.yudao.module.mes.framework.web.config.MesWebConfiguration")) { | ||
| 59 | + System.out.println("[MES 系统 yudao-module-mes - 已禁用][参考 https://doc.iocoder.cn/mes/build/ 开启]"); | ||
| 60 | + } | ||
| 53 | // 微信公众号 | 61 | // 微信公众号 |
| 54 | if (isNotPresent("cn.iocoder.yudao.module.mp.framework.mp.config.MpConfiguration")) { | 62 | if (isNotPresent("cn.iocoder.yudao.module.mp.framework.mp.config.MpConfiguration")) { |
| 55 | System.out.println("[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]"); | 63 | System.out.println("[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]"); |
| @@ -66,6 +74,10 @@ public class BannerApplicationRunner implements ApplicationRunner { | @@ -66,6 +74,10 @@ public class BannerApplicationRunner implements ApplicationRunner { | ||
| 66 | if (isNotPresent("cn.iocoder.yudao.module.iot.framework.web.config.IotWebConfiguration")) { | 74 | if (isNotPresent("cn.iocoder.yudao.module.iot.framework.web.config.IotWebConfiguration")) { |
| 67 | System.out.println("[IoT 物联网 yudao-module-iot - 已禁用][参考 https://doc.iocoder.cn/iot/build/ 开启]"); | 75 | System.out.println("[IoT 物联网 yudao-module-iot - 已禁用][参考 https://doc.iocoder.cn/iot/build/ 开启]"); |
| 68 | } | 76 | } |
| 77 | + // IM 即时通讯 | ||
| 78 | + if (isNotPresent("cn.iocoder.yudao.module.im.framework.web.config.ImWebConfiguration")) { | ||
| 79 | + System.out.println("[IM 即时通讯 yudao-module-im - 已禁用][参考 https://doc.iocoder.cn/im/build/ 开启]"); | ||
| 80 | + } | ||
| 69 | }); | 81 | }); |
| 70 | } | 82 | } |
| 71 | 83 |
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/handler/GlobalExceptionHandler.java
| @@ -423,25 +423,43 @@ public class GlobalExceptionHandler { | @@ -423,25 +423,43 @@ public class GlobalExceptionHandler { | ||
| 423 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 423 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 424 | "[ERP 系统 yudao-module-erp - 表结构未导入][参考 https://cloud.iocoder.cn/erp/build/ 开启]"); | 424 | "[ERP 系统 yudao-module-erp - 表结构未导入][参考 https://cloud.iocoder.cn/erp/build/ 开启]"); |
| 425 | } | 425 | } |
| 426 | - // 6. CRM 系统 | 426 | + // 6. WMS 仓库管理系统 |
| 427 | + if (message.contains("wms_")) { | ||
| 428 | + log.error("[WMS 仓库管理系统 yudao-module-wms - 表结构未导入][参考 https://doc.iocoder.cn/wms/build/ 开启]"); | ||
| 429 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 430 | + "[WMS 仓库管理系统 yudao-module-wms - 表结构未导入][参考 https://doc.iocoder.cn/wms/build/ 开启]"); | ||
| 431 | + } | ||
| 432 | + // 7. CRM 系统 | ||
| 427 | if (message.contains("crm_")) { | 433 | if (message.contains("crm_")) { |
| 428 | log.error("[CRM 系统 yudao-module-crm - 表结构未导入][参考 https://cloud.iocoder.cn/crm/build/ 开启]"); | 434 | log.error("[CRM 系统 yudao-module-crm - 表结构未导入][参考 https://cloud.iocoder.cn/crm/build/ 开启]"); |
| 429 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 435 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 430 | "[CRM 系统 yudao-module-crm - 表结构未导入][参考 https://cloud.iocoder.cn/crm/build/ 开启]"); | 436 | "[CRM 系统 yudao-module-crm - 表结构未导入][参考 https://cloud.iocoder.cn/crm/build/ 开启]"); |
| 431 | } | 437 | } |
| 432 | - // 7. 支付平台 | 438 | + // 8. MES 系统 |
| 439 | + if (message.contains("mes_")) { | ||
| 440 | + log.error("[MES 系统 yudao-module-mes - 表结构未导入][参考 https://doc.iocoder.cn/mes/build/ 开启]"); | ||
| 441 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 442 | + "[MES 系统 yudao-module-mes - 表结构未导入][参考 https://doc.iocoder.cn/mes/build/ 开启]"); | ||
| 443 | + } | ||
| 444 | + // 9. IM 即时通讯 | ||
| 445 | + if (message.contains("im_")) { | ||
| 446 | + log.error("[IM 即时通讯 yudao-module-im - 表结构未导入][参考 https://doc.iocoder.cn/im/build/ 开启]"); | ||
| 447 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 448 | + "[IM 即时通讯 yudao-module-im - 表结构未导入][参考 https://doc.iocoder.cn/im/build/ 开启]"); | ||
| 449 | + } | ||
| 450 | + // 10. 支付平台 | ||
| 433 | if (message.contains("pay_")) { | 451 | if (message.contains("pay_")) { |
| 434 | log.error("[支付模块 yudao-module-pay - 表结构未导入][参考 https://cloud.iocoder.cn/pay/build/ 开启]"); | 452 | log.error("[支付模块 yudao-module-pay - 表结构未导入][参考 https://cloud.iocoder.cn/pay/build/ 开启]"); |
| 435 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 453 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 436 | "[支付模块 yudao-module-pay - 表结构未导入][参考 https://cloud.iocoder.cn/pay/build/ 开启]"); | 454 | "[支付模块 yudao-module-pay - 表结构未导入][参考 https://cloud.iocoder.cn/pay/build/ 开启]"); |
| 437 | } | 455 | } |
| 438 | - // 8. AI 大模型 | 456 | + // 11. AI 大模型 |
| 439 | if (message.contains("ai_")) { | 457 | if (message.contains("ai_")) { |
| 440 | log.error("[AI 大模型 yudao-module-ai - 表结构未导入][参考 https://cloud.iocoder.cn/ai/build/ 开启]"); | 458 | log.error("[AI 大模型 yudao-module-ai - 表结构未导入][参考 https://cloud.iocoder.cn/ai/build/ 开启]"); |
| 441 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 459 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 442 | "[AI 大模型 yudao-module-ai - 表结构未导入][参考 https://cloud.iocoder.cn/ai/build/ 开启]"); | 460 | "[AI 大模型 yudao-module-ai - 表结构未导入][参考 https://cloud.iocoder.cn/ai/build/ 开启]"); |
| 443 | } | 461 | } |
| 444 | - // 9. IoT 物联网 | 462 | + // 12. IoT 物联网 |
| 445 | if (message.contains("iot_")) { | 463 | if (message.contains("iot_")) { |
| 446 | log.error("[IoT 物联网 yudao-module-iot - 表结构未导入][参考 https://doc.iocoder.cn/iot/build/ 开启]"); | 464 | log.error("[IoT 物联网 yudao-module-iot - 表结构未导入][参考 https://doc.iocoder.cn/iot/build/ 开启]"); |
| 447 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 465 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
yudao-server/pom.xml
| @@ -123,11 +123,11 @@ | @@ -123,11 +123,11 @@ | ||
| 123 | <!-- </dependency>--> | 123 | <!-- </dependency>--> |
| 124 | 124 | ||
| 125 | <!-- WMS 仓库管理模块 --> | 125 | <!-- WMS 仓库管理模块 --> |
| 126 | - <dependency> | ||
| 127 | - <groupId>cn.iocoder.boot</groupId> | ||
| 128 | - <artifactId>yudao-module-wms</artifactId> | ||
| 129 | - <version>${revision}</version> | ||
| 130 | - </dependency> | 126 | +<!-- <dependency>--> |
| 127 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 128 | +<!-- <artifactId>yudao-module-wms</artifactId>--> | ||
| 129 | +<!-- <version>${revision}</version>--> | ||
| 130 | +<!-- </dependency>--> | ||
| 131 | 131 | ||
| 132 | <!-- spring boot 配置所需依赖 --> | 132 | <!-- spring boot 配置所需依赖 --> |
| 133 | <dependency> | 133 | <dependency> |
yudao-server/src/main/java/cn/iocoder/yudao/server/controller/DefaultController.java
| @@ -46,12 +46,30 @@ public class DefaultController { | @@ -46,12 +46,30 @@ public class DefaultController { | ||
| 46 | "[ERP 模块 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); | 46 | "[ERP 模块 yudao-module-erp - 已禁用][参考 https://doc.iocoder.cn/erp/build/ 开启]"); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | + @RequestMapping(value = { "/admin-api/wms/**"}) | ||
| 50 | + public CommonResult<Boolean> wms404() { | ||
| 51 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 52 | + "[WMS 仓库管理系统 yudao-module-wms - 已禁用][参考 https://doc.iocoder.cn/wms/build/ 开启]"); | ||
| 53 | + } | ||
| 54 | + | ||
| 49 | @RequestMapping("/admin-api/crm/**") | 55 | @RequestMapping("/admin-api/crm/**") |
| 50 | public CommonResult<Boolean> crm404() { | 56 | public CommonResult<Boolean> crm404() { |
| 51 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 57 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |
| 52 | "[CRM 模块 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); | 58 | "[CRM 模块 yudao-module-crm - 已禁用][参考 https://doc.iocoder.cn/crm/build/ 开启]"); |
| 53 | } | 59 | } |
| 54 | 60 | ||
| 61 | + @RequestMapping(value = { "/admin-api/mes/**"}) | ||
| 62 | + public CommonResult<Boolean> mes404() { | ||
| 63 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 64 | + "[MES 系统 yudao-module-mes - 已禁用][参考 https://doc.iocoder.cn/mes/build/ 开启]"); | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + @RequestMapping(value = { "/admin-api/im/**"}) | ||
| 68 | + public CommonResult<Boolean> im404() { | ||
| 69 | + return CommonResult.error(NOT_IMPLEMENTED.getCode(), | ||
| 70 | + "[IM 即时通讯 yudao-module-im - 已禁用][参考 https://doc.iocoder.cn/im/build/ 开启]"); | ||
| 71 | + } | ||
| 72 | + | ||
| 55 | @RequestMapping(value = { "/admin-api/report/**"}) | 73 | @RequestMapping(value = { "/admin-api/report/**"}) |
| 56 | public CommonResult<Boolean> report404() { | 74 | public CommonResult<Boolean> report404() { |
| 57 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), | 75 | return CommonResult.error(NOT_IMPLEMENTED.getCode(), |