|
@@ -27,6 +27,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
|
+import java.util.Collections;
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
@@ -92,7 +93,7 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
resultMap.put("callBack", Boolean.TRUE);
|
|
resultMap.put("callBack", Boolean.TRUE);
|
|
if (Objects.equals(callBackTypeEnum, CallBackTypeEnum.CALL_BACK_PAY_ORDER)) {
|
|
if (Objects.equals(callBackTypeEnum, CallBackTypeEnum.CALL_BACK_PAY_ORDER)) {
|
|
PlatformOrderDTO platformOrderDTO = orderService.getByOrderId(param.getOrderId());
|
|
PlatformOrderDTO platformOrderDTO = orderService.getByOrderId(param.getOrderId());
|
|
- resultMap.put("amount", platformOrderDTO.getAmount());
|
|
|
|
|
|
+ resultMap.put("amount", Collections.singletonList(platformOrderDTO.getAmount()));
|
|
}
|
|
}
|
|
return resultMap;
|
|
return resultMap;
|
|
}
|
|
}
|