fanli/src/main/java/com/yeshi/fanli/controller/CallBackController.java
@@ -195,8 +195,6 @@ out.print("success"); } /** * 支付宝支付回调 * @Title: alipay @@ -260,33 +258,12 @@ // return; // } String contentDecode = ""; if (request instanceof MultipartHttpServletRequest) { MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request; List<MultipartFile> files = multipartRequest.getFiles("file"); try { InputStream input = files.get(0).getInputStream(); InputStreamReader reader = new InputStreamReader(input, "UTF-16LE"); int d = -1; String st = ""; while ((d = reader.read()) != -1) { st += ((char) d); } System.out.println(st); contentDecode = st; contentDecode = contentDecode.substring(contentDecode.indexOf("(") +1, contentDecode.length()).trim(); contentDecode = content.substring(content.indexOf("(") + 1, content.length()).trim(); if (contentDecode.endsWith(")")) contentDecode = contentDecode.substring(0, contentDecode.length() - 1); System.out.println(contentDecode); reader.close(); } catch (IOException e) { e.printStackTrace(); } } JSONObject data = JSONObject.fromObject(contentDecode).optJSONObject("data"); fanli/src/main/java/com/yeshi/fanli/job/order/jd/UpdateJDOrderJob.java
@@ -85,7 +85,7 @@ saveJDOrders(result.getOrderList()); } else if ("1hour".equalsIgnoreCase(param)) {// 更新1小时内的订单 updateUpdateOrder(); } else if ("1day".equalsIgnoreCase(param)) {// 更新1小时内的订单 } else if ("1day".equalsIgnoreCase(param)) {// 更新1天内的订单 updateLatestDayOrder(new Date(System.currentTimeMillis())); } else if ("3day".equalsIgnoreCase(param)) {// 更新最近3天更新的数据 updateLatest3DayOrder(); fanli/src/main/java/com/yeshi/fanli/service/impl/user/TokenRecordServiceImpl.java
@@ -340,7 +340,7 @@ UserSystemCoupon userSystemCoupon = null; try { userSystemCoupon = userSystemCouponService.freeCouponWin(giveUid, CouponTypeEnum.freeCoupon, userSystemCoupon = userSystemCouponService.freeCouponWin(uid, CouponTypeEnum.freeCoupon, UserSystemCoupon.SOURCE_GIVE, 1, true); } catch (Exception e) { LogHelper.errorDetailInfo(e);