Althars123 3 years ago
parent
commit
a9a32bfb0c

+ 1 - 0
zzjs-admin/src/main/java/com/miaxis/app/controller/wx/WxController.java

@@ -105,6 +105,7 @@ public class WxController extends BaseController {
         order.setOutTradeNo(orderCode);
         order.setOpenid(student.getOpenid());
         order.setGoodsType("2");
+        order.setGoodsPictureUrl(wxOrderCreateFuluDTO.getGoodsPictureUrl());
         //保存电影下单数据
         wxOrderService.createFuluOrder(order,wxOrderCreateFuluDTO);
         wxOrderService.save(order);

+ 1 - 1
zzjs-admin/src/main/java/com/miaxis/app/controller/wx/WxNotifyController.java

@@ -125,7 +125,7 @@ public class WxNotifyController {
 
     }
 
-    private Boolean validate(HttpServletRequest request, String bodyString) throws IOException, NoSuchAlgorithmException, InvalidKeyException, SignatureException {
+    private Boolean validate(HttpServletRequest request, String bodyString) throws  NoSuchAlgorithmException, InvalidKeyException, SignatureException {
         String sign = request.getHeader("Wechatpay-Signature");
         String timestamp = request.getHeader("Wechatpay-Timestamp");
         String nonce = request.getHeader("Wechatpay-Nonce");

+ 1 - 1
zzjs-admin/src/main/resources/application-prod.yml

@@ -151,4 +151,4 @@ fulu:
     appKey: "qxTK3W/RNleYH5tygePOu52hoFHpaqCi0eR5yKhHVgYQanIcua5edOG2rgrldHnL"
     appSecret: "a1be19d04c724c05971942305ea97489"
     url: "http://openapi.fulu.com"
-    notifyUrl: "http://admin.zzxcx.net/zzjs-admin/open-api/fulu/notify/fuluOrder"
+    notifyUrl: "http://admin.zzxcx.net/prod-api/open-api/fulu/notify/fuluOrder"