feat:购物车类型
This commit is contained in:
1 parent
c303814c09
commit
30cc11c44e
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -20,8 +20,9 @@ public enum HardTypeEnum {
|
||||
READ_CARD("3", "读卡器"),
|
||||
DOOR("4", "生鲜柜"),
|
||||
MERCHANT_QR_CODE("5", "商户二维码扣款牌"),
|
||||
OTHER("6","其他支付方式(第三方接口对接)"),
|
||||
OTHER("6", "其他支付方式(第三方接口对接)"),
|
||||
MERCHANT_ACT("7", "商户活动"),
|
||||
FARMER("8", "共富商城(助农)"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+1
-1
@@ -194,7 +194,7 @@ public class HardOrderController {
|
||||
@Idempotent(expireTime = 3, key = "'/app/hard-order/app/create-farmer-order' + #body.getCarParentId() ", info = "正在创建订单中,请勿重复操作")
|
||||
public R<Long> appCreateFarmerReserveOrder(@RequestBody HardAppCreateFarmerOrderDto body) {
|
||||
PjcloudUser user = SecurityUtils.getUser();
|
||||
body.setHardType(HardTypeEnum.SUPERMARKET);
|
||||
body.setHardType(HardTypeEnum.FARMER);
|
||||
body.setUserId(user.getId());
|
||||
body.setOrderType(HardOrderTypeEnum.FARMER);
|
||||
body.setPayType(HardPayTypeEnum.WALLET_DEFAULT);
|
||||
|
||||
Reference in new issue
Block a user