mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	优化项目启动速度,
This commit is contained in:
		@@ -27,13 +27,13 @@ public class DefaultController {
 | 
			
		||||
                "[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
//    @RequestMapping(value = {"/admin-api/product/**", // 商品中心
 | 
			
		||||
//            "/admin-api/trade/**", // 交易中心
 | 
			
		||||
//            "/admin-api/promotion/**"})  // 营销中心
 | 
			
		||||
//    public CommonResult<Boolean> mall404() {
 | 
			
		||||
//        return CommonResult.error(NOT_IMPLEMENTED.getCode(),
 | 
			
		||||
//                "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]");
 | 
			
		||||
//    }
 | 
			
		||||
    @RequestMapping(value = {"/admin-api/product/**", // 商品中心
 | 
			
		||||
            "/admin-api/trade/**", // 交易中心
 | 
			
		||||
            "/admin-api/promotion/**"})  // 营销中心
 | 
			
		||||
    public CommonResult<Boolean> mall404() {
 | 
			
		||||
        return CommonResult.error(NOT_IMPLEMENTED.getCode(),
 | 
			
		||||
                "[商城系统 yudao-module-mall - 已禁用][参考 https://doc.iocoder.cn/mall/build/ 开启]");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @RequestMapping(value = {"/admin-api/report/**"})
 | 
			
		||||
    public CommonResult<Boolean> report404() {
 | 
			
		||||
@@ -41,4 +41,10 @@ public class DefaultController {
 | 
			
		||||
                "[报表模块 yudao-module-report - 已禁用][参考 https://doc.iocoder.cn/report/ 开启]");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @RequestMapping(value = {"/admin-api/pay/**"})
 | 
			
		||||
    public CommonResult<Boolean> pay404() {
 | 
			
		||||
        return CommonResult.error(NOT_IMPLEMENTED.getCode(),
 | 
			
		||||
                "[支付模块 yudao-module-pay - 已禁用][参考 https://doc.iocoder.cn/pay/build/ 开启]");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user