|
|
@@ -6,6 +6,7 @@ import android.util.Log;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.sheep.gamegroup.event.WXLoginAuthEvent;
|
|
|
+import com.sheep.gamegroup.model.entity.MiniPayResult;
|
|
|
import com.sheep.gamegroup.util.ApiJSONUtil;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
import com.sheep.gamegroup.util.LogUtil;
|
|
|
@@ -92,49 +93,4 @@ public class WXEntryActivity extends WXCallbackActivity {//implements IWXAPIEven
|
|
|
super.onResp(resp);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- public static class MiniPayResult {
|
|
|
- String payResult;
|
|
|
- String prepayId;
|
|
|
- String errorMsg;
|
|
|
- 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;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
}
|