完成订单 售后模块等

This commit is contained in:
hupeng
2023-06-29 09:28:26 +08:00
parent 31fc0da4b5
commit 7e3737b2a1
299 changed files with 16313 additions and 1130 deletions

View File

@ -21,11 +21,11 @@
<url>https://github.com/guchengwuyue/yshop-pro</url>
<dependencies>
<dependency>
<groupId>co.yixiang.boot</groupId>
<artifactId>yshop-module-member-biz</artifactId>
<version>${revision}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>co.yixiang.boot</groupId>-->
<!-- <artifactId>yshop-module-member-biz</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>co.yixiang.boot</groupId>
<artifactId>yshop-module-system-biz</artifactId>
@ -56,16 +56,26 @@
</dependency>
<!-- 商城相关模块。默认注释,保证编译速度 -->
<dependency>
<groupId>co.yixiang.boot</groupId>
<artifactId>yshop-module-product-biz</artifactId>
<version>${revision}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>co.yixiang.boot</groupId>-->
<!-- <artifactId>yshop-module-product-biz</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>co.yixiang.boot</groupId>
<artifactId>yshop-module-shop-biz</artifactId>
<version>${revision}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>co.yixiang.boot</groupId>-->
<!-- <artifactId>yshop-module-cart-biz</artifactId>-->
<!-- <version>${revision}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>co.yixiang.boot</groupId>
<artifactId>yshop-module-order-biz</artifactId>
<version>${revision}</version>
</dependency>
<!-- spring boot 配置所需依赖 -->
<dependency>

View File

@ -1,44 +1,14 @@
package co.yixiang.yshop.server.controller;
import co.yixiang.yshop.framework.common.pojo.CommonResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import static co.yixiang.yshop.framework.common.exception.enums.GlobalErrorCodeConstants.NOT_IMPLEMENTED;
/**
* 默认 Controller解决部分 module 未开启时的 404 提示。
* 例如说,/bpm/** 路径,工作流
*
* @author yshop
*/
@RestController
public class DefaultController {
@RequestMapping("/admin-api/bpm/**")
public CommonResult<Boolean> bpm404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[工作流模块 yshop-module-bpm - 已禁用][参考 https://www.yixiang.co/ 开启]");
}
// @RequestMapping("/admin-api/mp/**")
// public CommonResult<Boolean> mp404() {
// return CommonResult.error(NOT_IMPLEMENTED.getCode(),
// "[微信公众号 yshop-module-mp - 已禁用][参考 https://www.yixiang.co/ 开启]");
// }
// @RequestMapping(value = {"/admin-api/product/**", // 商品中心
// "/admin-api/trade/**", // 交易中心
// "/admin-api/promotion/**"}) // 营销中心
// public CommonResult<Boolean> mall404() {
// return CommonResult.error(NOT_IMPLEMENTED.getCode(),
// "[商城系统 yshop-module-mall - 已禁用][参考 https://www.yixiang.co/ 开启]");
// }
@RequestMapping(value = {"/admin-api/report/**"})
public CommonResult<Boolean> report404() {
return CommonResult.error(NOT_IMPLEMENTED.getCode(),
"[报表模块 yshop-module-report - 已禁用][参考 https://www.yixiang.co/ 开启]");
}
}