feat:宁波银行权限校验
This commit is contained in:
1 parent
26de11e567
commit
68419fe9ac
15 files changed
+155
-27
No files matched your search
+1
@@ -15,6 +15,7 @@ public enum ThirdPayVoStatusEnum {
|
||||
|
||||
SUCCESS(200, "成功"),
|
||||
SIGN_ERROR(400, "签名验证失败"),
|
||||
PARAMS_ERROR(500, "参数错误"),
|
||||
USER_EXIST(501, "用户不存在"),
|
||||
ORDER_EXIST(502, "订单不存在"),
|
||||
BALANCE_NOT_ENOUGH(505, "用户余额不足"),
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.bsd.pjcloud.thirdparty.vo.pay;
|
||||
|
||||
import com.bsd.pjcloud.thirdparty.constant.pay.ThirdPayVoStatusEnum;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PayBaseVo<T> {
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
private T data;
|
||||
|
||||
public void set(ThirdPayVoStatusEnum type) {
|
||||
code = type.getType();
|
||||
message = type.getDescription();
|
||||
}
|
||||
|
||||
}
|
||||
+1
-1
@@ -13,7 +13,7 @@ public class PayGetWalletInfoVo {
|
||||
/**
|
||||
* 用户真实姓名
|
||||
*/
|
||||
private String username;
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 用户余额(分)
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package com.bsd.pjcloud.thirdparty.vo.pay;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PayWalletInfoVo {
|
||||
|
||||
/**
|
||||
* sm4加密后的手机号
|
||||
*/
|
||||
private String signPhone;
|
||||
|
||||
/**
|
||||
* 用户真实姓名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 用户余额(分)
|
||||
*/
|
||||
private Integer balance;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user