|
|
@@ -0,0 +1,48 @@
|
|
|
+package com.sheep.gamegroup.model.entity;
|
|
|
+
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.sheep.jiuyan.samllsheep.wxapi.WXEntryActivity;
|
|
|
+
|
|
|
+public class MiniPayResult {
|
|
|
+ public String payResult;
|
|
|
+ public String prepayId;
|
|
|
+ public String errorMsg;
|
|
|
+ public String token;
|
|
|
+
|
|
|
+ public String getPayResult() {
|
|
|
+ return payResult;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPayResult(String payResult) {
|
|
|
+ this.payResult = payResult;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPrepayId() {
|
|
|
+ return prepayId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPrepayId(String prepayId) {
|
|
|
+ this.prepayId = prepayId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getErrorMsg() {
|
|
|
+ return errorMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setErrorMsg(String errorMsg) {
|
|
|
+ this.errorMsg = errorMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getToken() {
|
|
|
+ return token;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setToken(String token) {
|
|
|
+ this.token = token;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static MiniPayResult parse(String text) {
|
|
|
+ MiniPayResult result = JSONObject.parseObject(text, MiniPayResult.class);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+}
|