admin
2022-08-09 399ac289f80b7a40aa4210341db6b447cacdcf14
app/src/main/java/com/tejia/lijin/app/ui/mine/CapitalActivity.java
@@ -12,6 +12,8 @@
import android.widget.TextView;
import com.google.gson.Gson;
import com.tejia.lijin.app.ShoppingApplication;
import com.tejia.lijin.app.util.user.UserUtil;
import com.wpc.library.util.common.StringUtils;
import com.tejia.lijin.app.BasicTextHttpResponseHandler;
import com.tejia.lijin.app.R;
@@ -122,7 +124,6 @@
        }
        getUserMoneyStatistic();
        SharedPreferences sp = getSharedPreferences("user", MODE_PRIVATE);
        boolean isLogin = sp.getBoolean("isLogin", false);
    }
    private void getAppPageNotification() {
@@ -176,8 +177,7 @@
     * 用户资金统计
     */
    private void getUserMoneyStatistic() {
        String uid = this.getSharedPreferences("user", MODE_PRIVATE).getString("uid", "0");
        ShoppingApi.getMoneyStatistic(this, uid, new BasicTextHttpResponseHandler() {
        ShoppingApi.getMoneyStatistic(this, UserUtil.getUid(ShoppingApplication.application), new BasicTextHttpResponseHandler() {
            @Override
            public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception {
                super.onSuccessPerfect(statusCode, headers, jsonObject);
@@ -193,8 +193,7 @@
    }
    private void getUserMoney() {
        String uid = this.getSharedPreferences("user", MODE_PRIVATE).getString("uid", "0");
        ShoppingApi.getUserMoneyInfo(this, uid, new BasicTextHttpResponseHandler() {
        ShoppingApi.getUserMoneyInfo(this, UserUtil.getUid(ShoppingApplication.application), new BasicTextHttpResponseHandler() {
            @Override
            public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception {
                super.onSuccessPerfect(statusCode, headers, jsonObject);