feat:免密支付
This commit is contained in:
1 parent
5b2463cba0
commit
5dc6a1ebbd
31 files changed
+776
-281
No files matched your search
+1
@@ -15,6 +15,7 @@ import java.util.Arrays;
|
||||
public enum HardAuthTypeEnum {
|
||||
|
||||
HARD_DDOR_AUTH("10", "智能柜授权"),
|
||||
HARD_DDOR_TOC_AUTH("20", "TOC用户智能柜授权"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+1
@@ -20,6 +20,7 @@ public enum HardOrderTypeEnum {
|
||||
ZY("5", "正元公务餐"),
|
||||
LB("6", "宁波银行(美好生活)"),
|
||||
FARMER("7", "共富商城(助农)"),
|
||||
TOC_VISITOR("8", "toc访客购买(不记名用户)"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+6
@@ -1,5 +1,6 @@
|
||||
package com.bsd.pjcloud.hard.api.dto;
|
||||
|
||||
import com.bsd.pjcloud.common.core.constant.enums.UserTypeEnum;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
@@ -12,6 +13,11 @@ public class HardAuthAppDto {
|
||||
*/
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户类型
|
||||
*/
|
||||
private UserTypeEnum userType;
|
||||
|
||||
/**
|
||||
* 授权id
|
||||
*/
|
||||
|
||||
+6
@@ -1,5 +1,6 @@
|
||||
package com.bsd.pjcloud.hard.api.dto;
|
||||
|
||||
import com.bsd.pjcloud.common.core.constant.enums.UserTypeEnum;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
@@ -12,6 +13,11 @@ public class HardGetAuthAppDto {
|
||||
*/
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户类型
|
||||
*/
|
||||
private UserTypeEnum userType;
|
||||
|
||||
/**
|
||||
* 智能柜设备id
|
||||
*/
|
||||
|
||||
+6
@@ -37,6 +37,12 @@ public class HardDoorFlowEntity extends Model<HardDoorFlowEntity> {
|
||||
@Schema(description = "用户编号")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户类型
|
||||
*/
|
||||
@Schema(description = "用户类型")
|
||||
private String userType;
|
||||
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
|
||||
+12
@@ -78,6 +78,18 @@ public class HardDoorCabinetEntity extends Model<HardDoorCabinetEntity> {
|
||||
@Schema(description = "url二维码")
|
||||
private String urlQrCode;
|
||||
|
||||
/**
|
||||
* 支付宝小程序二维码
|
||||
*/
|
||||
@Schema(description = "支付宝小程序二维码")
|
||||
private String urlAlipayQrCode;
|
||||
|
||||
/**
|
||||
* 微信小程序二维码
|
||||
*/
|
||||
@Schema(description = "微信小程序二维码")
|
||||
private String urlWechatQrCode;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package com.bsd.pjcloud.hard.api.vo.order;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class HardAppCreateThirdDoorOrderVo {
|
||||
|
||||
private Long authId;
|
||||
|
||||
/**
|
||||
* 支付宝订单号
|
||||
*/
|
||||
private String alipayOrderStr;
|
||||
}
|
||||
Reference in new issue
Block a user