@@ -25,6 +25,7 @@
<artifactId>fastjson</artifactId>
<version>1.2.80</version>
</dependency>
+
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-data-27</artifactId>
@@ -88,7 +88,7 @@ public class Order1ServiceImpl extends ServiceImpl<Order1Mapper, Order1>
}
order1.setReceiverInfo(userAddress.getDetail());
order1.setCreateTime(new Date());
- order1.setStatus(0);
+ order1.setStatus(1);
this.baseMapper.insert(order1);
// 订单和优惠券关联表
@@ -9,8 +9,8 @@
- 作用 路径 请求方式 参数是
+ 作用 路径 请求方式 参数是
用户可以使用的优惠券 localhost:8003/Coupon/findAll post CouponDto类
-订单 localhost:8003/order1/addorder1 post OrdersDto类
+订单 localhost:8003/order1/addorder1 post OrdersDto类
展示用户已购买的课程 localhost:8003/course/findAll post 无参
店铺展示信息 localhost:8003/shop/findAll post ShopDto 类