ソースを参照

添加打点,将url改为正式环境

hy 3 年 前
コミット
789da80e9e

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

@ -735,6 +735,7 @@ public class ChargingStatusActivity extends Activity implements View.OnClickList
735 735
736 736
        resumeUserCar();
737 737
        layoutCarCertificate.setOnClickListener(v->{
738
            MobclickAgent.onEvent(getApplicationContext(),"1154");
738 739
            Intent intent = new Intent(getApplicationContext(), CarOwnerCertificateActivity.class);
739 740
            startActivity(intent);
740 741
        });

+ 1 - 0
app/src/main/java/com/electric/chargingpile/activity/MainMapActivity.java

@ -955,6 +955,7 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
955 955
                                    "选择您的意向车型或认证车主\n" +
956 956
                                    "还有充电奖励抵扣电费")
957 957
                            .setGoRegister(v->{
958
                                MobclickAgent.onEvent(getApplicationContext(),"1152");
958 959
                                Intent intent = new Intent(getApplicationContext(), CarOwnerCertificateActivity.class);
959 960
                                startActivity(intent);
960 961
                            })

+ 2 - 0
app/src/main/java/com/electric/chargingpile/activity/UserCenterActivity.java

@ -257,6 +257,7 @@ public class UserCenterActivity extends Activity implements View.OnClickListener
257 257
                        .setlogoDialogImg(R.drawable.ic_red_envelope)
258 258
                        .setContentImg(R.drawable.ic_50_coupon)
259 259
                        .setGoRegister(v->{
260
                            MobclickAgent.onEvent(getApplicationContext(),"1153");
260 261
                            Intent intent = new Intent(getApplicationContext(), CarOwnerCertificateActivity.class);
261 262
                            startActivity(intent);
262 263
                        })
@ -835,6 +836,7 @@ public class UserCenterActivity extends Activity implements View.OnClickListener
835 836
                break;
836 837
837 838
            case R.id.rl_car_owner_certificate: // 车主认证
839
                MobclickAgent.onEvent(getApplicationContext(),"1155");
838 840
                if (!MainApplication.isLogin()) {
839 841
                    Toast.makeText(getApplication(), "请先登录", Toast.LENGTH_SHORT).show();
840 842
                    startActivity(new Intent(getApplication(), LoginActivity.class));

+ 2 - 2
app/src/main/java/com/electric/chargingpile/activity/UserInfoActivity.java

@ -434,12 +434,12 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
434 434
                if (certificateStatus == -2) {
435 435
                    getCarOwnerCertificateList(true);
436 436
                }
437
437
                MobclickAgent.onEvent(getApplicationContext(),"1151");
438 438
                break;
439 439
            case R.id.carIntentModel:
440 440
                CarBrandActivity.actionStart(this,"1");
441 441
//                startActivityForResult(new Intent(UserInfoActivity.this, SelectCarActivity.class), 11);
442
442
                MobclickAgent.onEvent(getApplicationContext(),"1150");
443 443
                break;
444 444
        }
445 445
    }

+ 6 - 6
app/src/main/java/com/electric/chargingpile/application/MainApplication.java

@ -91,13 +91,13 @@ public class MainApplication extends MultiDexApplication {
91 91
    public static String firstPoint = "";
92 92
    public static Boolean firstSsyd;
93 93
    public static String password = "";
94
        public static String url = "http://59.110.68.162";// 充电桩测试环境
95
    public static String pic_url = "http://59.110.68.162/zhannew/uploadfile/";
96
//    public static String url = "http://cdz.evcharge.cc";// 充电桩正式环境
97
//    public static String pic_url = "http://cdz.evcharge.cc/zhannew/uploadfile/";
94
//        public static String url = "http://59.110.68.162";// 充电桩测试环境
95
//    public static String pic_url = "http://59.110.68.162/zhannew/uploadfile/";
96
    public static String url = "http://cdz.evcharge.cc";// 充电桩正式环境
97
    public static String pic_url = "http://cdz.evcharge.cc/zhannew/uploadfile/";
98 98

99
        public static String urlNew = "http://123.56.67.7:83/api/0300";// 一电测试环境
100
//    public static String urlNew = "https://api.touchev.com:83/api/0300";// 一电正式环境
99
//        public static String urlNew = "http://123.56.67.7:83/api/0300";// 一电测试环境
100
    public static String urlNew = "https://api.touchev.com:83/api/0300";// 一电正式环境
101 101

102 102

103 103
    //	public static String url = "https://cdz.d1ev.com";

+ 2 - 2
zxing/src/main/java/com/google/zxing/client/android/constant/UrlConstants.java

@ -1,8 +1,8 @@
1 1
package com.google.zxing.client.android.constant;
2 2
3 3
public interface UrlConstants {
4
//    String HOST_URL = "http://cdz.evcharge.cc/zhannew/basic/web/index.php/";
5
    String HOST_URL = "http://59.110.68.162/zhannew/basic/web/index.php/"; //测试链接
4
    String HOST_URL = "http://cdz.evcharge.cc/zhannew/basic/web/index.php/";
5
//    String HOST_URL = "http://59.110.68.162/zhannew/basic/web/index.php/"; //测试链接
6 6
7 7
    String USER_CHARGING_CHECK_URL = HOST_URL + "api/charge/check-user";
8 8
    String START_CHARGING_URL = HOST_URL + "api/charge/start";