|
@@ -73,6 +73,9 @@ public class MiPayService extends PayBaseService {
|
|
private MiPayConfigDTO config;
|
|
private MiPayConfigDTO config;
|
|
|
|
|
|
public Map<String, Object> paySynNotify(String orderId) {
|
|
public Map<String, Object> paySynNotify(String orderId) {
|
|
|
|
+
|
|
|
|
+ log.error("米大师支付回调 orderId : {}", orderId);
|
|
|
|
+
|
|
//查询订单
|
|
//查询订单
|
|
PlatformOrderDTO platformOrderDTO = orderService.getByOrderId(orderId);
|
|
PlatformOrderDTO platformOrderDTO = orderService.getByOrderId(orderId);
|
|
if (platformOrderDTO == null) {
|
|
if (platformOrderDTO == null) {
|
|
@@ -182,7 +185,7 @@ public class MiPayService extends PayBaseService {
|
|
postBodyMap.put("ts", System.currentTimeMillis() / 1000);
|
|
postBodyMap.put("ts", System.currentTimeMillis() / 1000);
|
|
postBodyMap.put("zone_id", "1");
|
|
postBodyMap.put("zone_id", "1");
|
|
postBodyMap.put("env", this.isSand);
|
|
postBodyMap.put("env", this.isSand);
|
|
- postBodyMap.put("amount", amount);
|
|
|
|
|
|
+ postBodyMap.put("amount", amount.intValue());
|
|
postBodyMap.put("bill_no", orderId);
|
|
postBodyMap.put("bill_no", orderId);
|
|
String postBody = JsonUtil.toString(postBodyMap);
|
|
String postBody = JsonUtil.toString(postBodyMap);
|
|
//接口token
|
|
//接口token
|