设置come 海外读书为10
This commit is contained in:
@@ -57,7 +57,7 @@ public class OrderController {
|
|||||||
return R.error("Purchased");
|
return R.error("Purchased");
|
||||||
}
|
}
|
||||||
buyOrder.setUserId(ShiroUtils.getUId());
|
buyOrder.setUserId(ShiroUtils.getUId());
|
||||||
buyOrder.setCome(3);//3 海外读书
|
buyOrder.setCome(10);//10 海外读书
|
||||||
BigDecimal totalPrice = buyOrder.getOrderMoney();
|
BigDecimal totalPrice = buyOrder.getOrderMoney();
|
||||||
if ("abroadBook".equals(buyOrder.getOrderType())){
|
if ("abroadBook".equals(buyOrder.getOrderType())){
|
||||||
BookEntity bookEntity = bookService.getById(buyOrder.getAbroadBookId());
|
BookEntity bookEntity = bookService.getById(buyOrder.getAbroadBookId());
|
||||||
|
|||||||
Reference in New Issue
Block a user