个人中心

zhc4dev
wangjiadong 2 years ago
parent d4d53200f2
commit 4877beea28
  1. 2
      ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue
  2. 13
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUserController.java

@ -62,7 +62,7 @@
<p class="text">驻马店市 驿城区</p>
<p class="text">{{this.dingdandh.address}}</p>
<p class="text">{{this.dingdandh.zipCode}}</p>
<p class="headline">已发货</p>
<p class="headline">{{this.dingdandh.deliveryStatus}}</p>
<p class="text">您的订单已经发出</p>
<p class="headline">尊享免费配送您的物流单号</p>
<p class="text">4263882788397</p>

@ -1558,6 +1558,7 @@ public class SysUserController {
//这个是获取订单的数据中的商品数据
Grzx1 g1 = new Grzx1();
g1 = sysUserService.getallg2(id);
return Result.ok(g1);
}
@ -1569,6 +1570,18 @@ public class SysUserController {
//这个是用于获取一个订单的全部信息
Grzx1 g1 = new Grzx1();
g1 = sysUserService.getallg2(id);
if (g1.getDeliveryStatus().equals("0")){
g1.setDeliveryStatus("未支付");
}
if (g1.getDeliveryStatus().equals("1")){
g1.setDeliveryStatus("已支付");
}
if (g1.getDeliveryStatus().equals("2")){
g1.setDeliveryStatus("申请退款");
}
if (g1.getDeliveryStatus().equals("3")){
g1.setDeliveryStatus("确认退款");
}
System.out.println(g1);
return Result.OK(g1);
}

Loading…
Cancel
Save