|
@@ -72,8 +72,8 @@ public class XcxWxController extends BaseController {
|
|
|
|
|
|
@Value("${xcx.appId}")
|
|
@Value("${xcx.appId}")
|
|
private String appId;
|
|
private String appId;
|
|
- @Value("${wxpay.xcxNotifyUrl}")
|
|
|
|
- private String xcxNotifyUrl ;
|
|
|
|
|
|
+ @Value("${wxpay.notifyUrl}")
|
|
|
|
+ private String notifyUrl ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -90,7 +90,7 @@ public class XcxWxController extends BaseController {
|
|
//创建本地微信订单
|
|
//创建本地微信订单
|
|
WxOrder order = createOrder(values);
|
|
WxOrder order = createOrder(values);
|
|
wxOrderService.save(order);
|
|
wxOrderService.save(order);
|
|
- return Response.success(placeWxOrder(order, sysDictData.getDictLabel(),xcxNotifyUrl));
|
|
|
|
|
|
+ return Response.success(placeWxOrder(order, sysDictData.getDictLabel(),notifyUrl));
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -105,7 +105,7 @@ public class XcxWxController extends BaseController {
|
|
Double dprice = Double.valueOf(values[0]);
|
|
Double dprice = Double.valueOf(values[0]);
|
|
Double v =dprice* 100;
|
|
Double v =dprice* 100;
|
|
order.setTotal(v.intValue());
|
|
order.setTotal(v.intValue());
|
|
- //order.setOrderDataJson(values[2]);
|
|
|
|
|
|
+ order.setOrderDataJson(values[2]);
|
|
return order;
|
|
return order;
|
|
}
|
|
}
|
|
|
|
|