From 2aead6275fdd1bbbd778abc0e85663a2578fab06 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 15 五月 2021 18:23:33 +0800 Subject: [PATCH] 详情页完善 --- app/src/main/java/com/tejia/lijin/app/ui/mine/WithdrawRecordActivity.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/tejia/lijin/app/ui/mine/WithdrawRecordActivity.java b/app/src/main/java/com/tejia/lijin/app/ui/mine/WithdrawRecordActivity.java index f754521..304d89b 100644 --- a/app/src/main/java/com/tejia/lijin/app/ui/mine/WithdrawRecordActivity.java +++ b/app/src/main/java/com/tejia/lijin/app/ui/mine/WithdrawRecordActivity.java @@ -17,6 +17,8 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; +import com.tejia.lijin.app.ShoppingApplication; +import com.tejia.lijin.app.util.user.UserUtil; import com.wpc.library.content.ConnectivityChangeHelper; import com.wpc.library.okhttp.OkHttpUtils; import com.wpc.library.util.NetUtils; @@ -172,10 +174,8 @@ * 鑾峰彇鎻愮幇璁板綍鍒楄〃 */ private void getWithDrawRecordList() { - String uid = getSharedPreferences("user", MODE_PRIVATE) - .getString("uid", ""); String type = getIntent().getStringExtra("type"); - ShoppingApi.getExtractRecord(this, uid, mPage, new BasicTextHttpResponseHandler() { + ShoppingApi.getExtractRecord(this, UserUtil.getUid(ShoppingApplication.application), mPage, new BasicTextHttpResponseHandler() { @Override public void onStart() { -- Gitblit v1.8.0