Quellcode durchsuchen

注销 - step 3 - fixed - 提交资料接口错误

GZBranch
wufasong vor 1 Tag
Ursprung
Commit
234c8688b3

+ 1
- 1
app/src/main/java/com/huntersun/vkyes/etcopencard/project/api/bean/IFCode.java Datei anzeigen

@@ -333,7 +333,7 @@ public class IFCode {
// 设备注销相关接口
public static final String IFCODE_DEVICE_CANCEL_QUERY = "iaw/deviceCancel/query";//设备注销条件查询
public static final String IFCODE_VEHICLE_QUERY_DEVICE = "iaw/api/vehicleInfo/queryDevice";//查看车辆设备(卡、签、人信息)
public static final String IFCODE_DEVICE_CANCEL_APPLY = "iaw/api/deviceCancel/apply";//设备注销申请
public static final String IFCODE_DEVICE_CANCEL_APPLY = "iaw/deviceCancel/apply";//设备注销申请
public static final String IFCODE_DEVICE_CANCEL_GET_QR_CODE = "iaw/deviceCancel/getQrCode";//获取设备注销支付二维码
public static final String IFCODE_DIVICE_CANCLE_REFUNDINFO_PAGE = "iaw/api/refundInfo/page";// 分页查询车辆注销退费信息
public static final String IFCODE_DIVICE_CANCLE_REFUNDINFO_ADDORUPDATE = "iaw/api/refundInfo/addOrUpdate";// 增加修改退费账号

+ 2
- 1
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/LogoutEtcPayActivity.java Datei anzeigen

@@ -25,6 +25,7 @@ import com.huntersun.vkyes.etcopencard.project.tool.Utils;
import com.huntersun.vkyes.etcopencard.project.utils.Constants;
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper;
import com.huntersun.vkyes.etcopencard.src.app.AppActivity;
import com.hjq.toast.ToastUtils;

import java.util.Objects;

@@ -108,7 +109,7 @@ public class LogoutEtcPayActivity extends AppActivity {
}
} else {
// 如果没有二维码数据,显示提示
binding.image.setImageResource(R.mipmap.icon_lotgout_etc_hint);
ToastUtils.show("获取支付二维码失败");
}
}


+ 6
- 2
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/LogoutEtcStep2Activity.java Datei anzeigen

@@ -288,11 +288,13 @@ public class LogoutEtcStep2Activity extends AppActivity {
// 传递其他必要参数
intent.putExtra("customerId", curBizContent.getCustomerId());
intent.putExtra("userName", curBizContent.getName());
intent.putExtra("vehicleId", curBizContent.getVehicleId());
intent.putExtra("vehicleId", curBizContent.getVehiclePlate() + "_" + curBizContent.getVehiclePlateColor());
// 传递违约金信息
intent.putExtra("cancelAmount", getIntent().getLongExtra("cancelAmount", 0));
intent.putExtra("needPayment", getIntent().getBooleanExtra("needPayment", false));

LogUtils.i(this.getClass().getSimpleName(), "传递参数: " + JSONObject.toJSONString(intent.getExtras()));
startActivity(intent);
}else {//储值卡
@@ -323,11 +325,13 @@ public class LogoutEtcStep2Activity extends AppActivity {
// 传递其他必要参数
intent.putExtra("customerId", curBizContent.getCustomerId());
intent.putExtra("userName", curBizContent.getName());
intent.putExtra("vehicleId", curBizContent.getVehicleId());
intent.putExtra("vehicleId", curBizContent.getVehiclePlate() + "_" + curBizContent.getVehiclePlateColor());
// 传递违约金信息
intent.putExtra("cancelAmount", getIntent().getLongExtra("cancelAmount", 0));
intent.putExtra("needPayment", getIntent().getBooleanExtra("needPayment", false));

LogUtils.i(this.getClass().getSimpleName(), "传递参数: " + JSONObject.toJSONString(intent.getExtras()));
startActivity(intent);
}

Laden…
Abbrechen
Speichern