feat:机器订单支付速度优化
This commit is contained in:
1 parent
241e9b0c46
commit
10eec976c2
4 files changed
+165
-12
No files matched your search
+35
@@ -0,0 +1,35 @@
|
||||
package com.bsd.pjcloud.hard.api.vo.order;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 一次商品查询同时完成购物车落库、总价计算和商品描述的结果。
|
||||
* <p>
|
||||
* 用于收银下单路径合并原本 computerCarTotalPrice/createCard/computerCarSubject
|
||||
* 三次重复的商品远程查询。
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class HardCreateCardComputeVo {
|
||||
|
||||
/**
|
||||
* 新建的父购物车 id
|
||||
*/
|
||||
private Long parentCarId;
|
||||
|
||||
/**
|
||||
* 按商品快照计算出的总价(分)
|
||||
*/
|
||||
private Integer totalPrice;
|
||||
|
||||
/**
|
||||
* 商品描述,如 "苹果x2;香蕉x0.5/kg;"
|
||||
*/
|
||||
private String subject;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user