|
|
@@ -666,12 +666,6 @@ public class AppBookingAction extends ActionSupport implements ServletRequestAwa
|
|
|
requestMap.put("package", "prepay_id=" + pay.getPrepay_id());
|
|
|
requestMap.put("signType", "MD5");
|
|
|
pay.setPaySign(PayWxUtil.getSign(requestMap, WeiXinUtil.key));
|
|
|
- // 返回支付参数
|
|
|
- resultjson.put("code", 200);
|
|
|
- resultjson.put("message", "返回成功");
|
|
|
- resultjson.put("data", pay);
|
|
|
- ResUtil.writeJson(ServletActionContext.getResponse(), resultjson.toString());
|
|
|
-
|
|
|
// 保存支付信息
|
|
|
booking.setUpdateTime(DateUtil.getFormatPaternDate(new Date()));
|
|
|
booking.setOrderStatus(Func.parseStr(PayEnum.ONE.getNum()));
|
|
|
@@ -735,7 +729,7 @@ public class AppBookingAction extends ActionSupport implements ServletRequestAwa
|
|
|
|
|
|
// 手动接单,发消息给商家
|
|
|
AdminManager adminManager = adminManagerService.getById(Func.parseInt(booking.getHotelManagerId()));
|
|
|
- String live_end = booking.getOrderStartTime() +"~"+ booking.getOrderEndTime();
|
|
|
+ String live_end = booking.getOrderStartTime().substring(0,10) +"~"+ booking.getOrderEndTime().substring(0,10);
|
|
|
String hotelName = "";
|
|
|
if (Func.checkNull(booking.getHotelName()))
|
|
|
{
|