Commit 9b79f4aa authored by 王业雄's avatar 王业雄

vcc线下还款

parent dfe565b1
......@@ -214,10 +214,10 @@ public class VccServiceImpl implements IVccService {
}else if (1== status){
//审批通过
String url = "";
String phone = bySerialNoEquals.getPhone();
UserSysResult<XUser> userByPhoneNo = userSdkService.findUserByPhoneNo(phone);
if ( 1 == bySerialNoEquals.getRepayType()){
//月还账单
String phone = bySerialNoEquals.getPhone();
UserSysResult<XUser> userByPhoneNo = userSdkService.findUserByPhoneNo(phone);
List<ApplyBill> billList = GSON.fromJson(bySerialNoEquals.getBills(), new TypeToken<List<ApplyBill>>() {
}.getType());
StringBuilder stringBuilder = new StringBuilder();
......@@ -228,6 +228,8 @@ public class VccServiceImpl implements IVccService {
url = talosHttp + "/vcc/repay/offlineRepay?userId=" + userByPhoneNo.getData().getId() + "&amount=" + bySerialNoEquals.getAmount() + "&billNo=" + billNo;
}else {
//提前结清
url = talosHttp + "/vcc/offline_pre_repay/repay?userId=" + userByPhoneNo.getData().getId() + "&amount=" + bySerialNoEquals.getAmount()
+ "&repayType=" + bySerialNoEquals.getRepayType() + "&uniqueId=" + bySerialNoEquals.getUniqueId();
}
log.info("queryRepayCalDetail | 开始请求talos,url={}",url);
String get = httpService.get(url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment