|
|
@@ -0,0 +1,30 @@
|
|
|
+package com.github.microservice.models.hxz;
|
|
|
+
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author TRX
|
|
|
+ * @date 2024/7/3
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+public class WxPayResult {
|
|
|
+ private Boolean success;
|
|
|
+ private String message = "";
|
|
|
+ private Integer code;
|
|
|
+ private String value;
|
|
|
+
|
|
|
+ public boolean isSuccess() {
|
|
|
+ if (success != null && success) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMsg() {
|
|
|
+ return message;
|
|
|
+ }
|
|
|
+}
|