Browse Source

取出无用log

hy 3 years ago
parent
commit
3eb89e60e6

+ 8 - 8
app/src/main/java/com/electric/chargingpile/activity/ChargingStatusActivity.java

251
                rl_circle.setBackgroundResource(R.drawable.bg_charging_orange);
251
                rl_circle.setBackgroundResource(R.drawable.bg_charging_orange);
252
                tv_stop.setBackgroundResource(R.drawable.bg_f08f4b_radius_10);
252
                tv_stop.setBackgroundResource(R.drawable.bg_f08f4b_radius_10);
253
                tv_stop.setTextColor(Color.parseColor("#F08F4B"));
253
                tv_stop.setTextColor(Color.parseColor("#F08F4B"));
254
                tv_help.setTextColor(Color.parseColor("#030303"));
254
                tv_help.setTextColor(Color.parseColor("#F08F4B"));
255
                @SuppressLint("UseCompatLoadingForDrawables") Drawable drawable = getResources().getDrawable(R.drawable.icon_zhan_name_orange, null);
255
                @SuppressLint("UseCompatLoadingForDrawables") Drawable drawable = getResources().getDrawable(R.drawable.icon_zhan_name_orange, null);
256
                drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
256
                drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
257
                tv_zhuang_num.setCompoundDrawables(drawable, null, null, null);
257
                tv_zhuang_num.setCompoundDrawables(drawable, null, null, null);
523
523
524
            @Override
524
            @Override
525
            public void onResponse(String response) {
525
            public void onResponse(String response) {
526
                LogUtils.e("end--" + response);
526
              //  LogUtils.e("end--" + response);
527
                String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
527
                String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
528
                String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
528
                String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
529
                if ("01".equals(rtnCode)) {
529
                if ("01".equals(rtnCode)) {
552
        if (activity != null && !activity.isFinishing()) {
552
        if (activity != null && !activity.isFinishing()) {
553
            dialog.show();
553
            dialog.show();
554
        }
554
        }
555
        Log.e("hyc","userId:"+MainApplication.userId);
556
        Log.e("hyc","userPassword:"+MainApplication.userPassword);
557
        Log.e("hyc","ORDERID:"+orderId);
555
//        Log.e("hyc","userId:"+MainApplication.userId);
556
//        Log.e("hyc","userPassword:"+MainApplication.userPassword);
557
//        Log.e("hyc","ORDERID:"+orderId);
558
        try_count++;
558
        try_count++;
559
        OkHttpUtils.get()
559
        OkHttpUtils.get()
560
                .url(UrlConstants.QUERY_NOT_CLOSE)
560
                .url(UrlConstants.QUERY_NOT_CLOSE)
576
576
577
                    @Override
577
                    @Override
578
                    public void onResponse(String response) {
578
                    public void onResponse(String response) {
579
                        Log.e(this.getClass().getName()+"hyc ","chargingEnd2--response--"+response);
579
                        //Log.e(this.getClass().getName()+"hyc ","chargingEnd2--response--"+response);
580
580
581
                        LogUtils.e("hyc end--" + response);
581
                       // LogUtils.e("hyc end--" + response);
582
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
582
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
583
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
583
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
584
584
809
            e.printStackTrace();
809
            e.printStackTrace();
810
        }
810
        }
811
        String url = MainApplication.url + "/zhannew/basic/web/index.php/car/my?userid=" + MainApplication.userId + "&order=1" + "&token=" + token;
811
        String url = MainApplication.url + "/zhannew/basic/web/index.php/car/my?userid=" + MainApplication.userId + "&order=1" + "&token=" + token;
812
        Log.e("TAG -- hyc", "getCarOwnerCertificateList: " + url);
812
      //  Log.e("TAG -- hyc", "getCarOwnerCertificateList: " + url);
813
        OkHttpUtils.get().url(url).build().connTimeOut(6000).readTimeOut(6000).execute(new StringCallback() {
813
        OkHttpUtils.get().url(url).build().connTimeOut(6000).readTimeOut(6000).execute(new StringCallback() {
814
814
815
            @Override
815
            @Override

+ 8 - 8
app/src/main/java/com/electric/chargingpile/activity/ConfirmOrderActivity.java

86
        if (this != null && !this.isFinishing()) {
86
        if (this != null && !this.isFinishing()) {
87
            mDialog.show();
87
            mDialog.show();
88
        }
88
        }
89
        Log.e("TAG", "requestDelayedSettlement: userid: "+MainApplication.userId );
90
        Log.e("TAG", "requestDelayedSettlement: pwd: "+ MainApplication.userPassword);
91
        Log.e("TAG", "requestDelayedSettlement: orderid: "+ orderId);
89
//        Log.e("TAG", "requestDelayedSettlement: userid: "+MainApplication.userId );
90
//        Log.e("TAG", "requestDelayedSettlement: pwd: "+ MainApplication.userPassword);
91
//        Log.e("TAG", "requestDelayedSettlement: orderid: "+ orderId);
92
        OkHttpUtils.get()
92
        OkHttpUtils.get()
93
                .url(UrlConstants.QUERY_NOT_CLOSE)
93
                .url(UrlConstants.QUERY_NOT_CLOSE)
94
                .addParams(com.electric.chargingpile.constant.ChargingConstants.USERID, MainApplication.userId)
94
                .addParams(com.electric.chargingpile.constant.ChargingConstants.USERID, MainApplication.userId)
110
110
111
                    @Override
111
                    @Override
112
                    public void onResponse(String response) {
112
                    public void onResponse(String response) {
113
                        LogUtils.e("hyc requestDelayedSettlement--" + response);
113
                      //  LogUtils.e("hyc requestDelayedSettlement--" + response);
114
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
114
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
115
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
115
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
116
116
228
        if (this != null && !this.isFinishing()) {
228
        if (this != null && !this.isFinishing()) {
229
            mDialog.show();
229
            mDialog.show();
230
        }
230
        }
231
        Log.e("TAG_hcy", "requestComment: "+mRedEnvelopeId);
231
      //  Log.e("TAG_hcy", "requestComment: "+mRedEnvelopeId);
232
        OkHttpUtils.get()
232
        OkHttpUtils.get()
233
                .url(UrlConstants.SETTLEMENT)
233
                .url(UrlConstants.SETTLEMENT)
234
                .addParams(ChargingConstants.USERID, MainApplication.userId)
234
                .addParams(ChargingConstants.USERID, MainApplication.userId)
249
249
250
                    @Override
250
                    @Override
251
                    public void onResponse(String response) {
251
                    public void onResponse(String response) {
252
                        LogUtils.e("SETTLEMENT=" + response);
252
                      //  LogUtils.e("SETTLEMENT=" + response);
253
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
253
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
254
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
254
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
255
                        dismissDialog();
255
                        dismissDialog();
283
283
284
                    @Override
284
                    @Override
285
                    public void onResponse(String response) {
285
                    public void onResponse(String response) {
286
                        LogUtils.e("polling=" + response);
286
                      //  LogUtils.e("polling=" + response);
287
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
287
                        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
288
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
288
                        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
289
                        if (null != rtnCode) {
289
                        if (null != rtnCode) {
385
385
386
                    @Override
386
                    @Override
387
                    public void onResponse(String response) {
387
                    public void onResponse(String response) {
388
                        Log.d("HYC", "onResponse: " + response);
388
                        //Log.d("HYC", "onResponse: " + response);
389
389
390
                        Gson gson = new Gson();
390
                        Gson gson = new Gson();
391
                        List<RedEnvelopeBean> datas = gson.fromJson(response, new TypeToken<List<RedEnvelopeBean>>() {
391
                        List<RedEnvelopeBean> datas = gson.fromJson(response, new TypeToken<List<RedEnvelopeBean>>() {

+ 1 - 1
zxing/src/main/java/com/google/zxing/client/android/CaptureActivity.java

1114
    }
1114
    }
1115
1115
1116
    private void handlingOperations(String response, int interfaceType) {
1116
    private void handlingOperations(String response, int interfaceType) {
1117
        LogUtils.e(interfaceType + "hyc---" + response);
1117
        LogUtils.d(interfaceType + "hyc---" + response);
1118
        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
1118
        String rtnCode = JsonUtils.getKeyResult(response, "rtnCode");
1119
        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
1119
        String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
1120
        switch (rtnCode) {
1120
        switch (rtnCode) {