|
@@ -257,9 +257,9 @@ public class AwoaraServiceImpl implements AwoaraService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
""".formatted(orderId);
|
|
""".formatted(orderId);
|
|
|
- AwoaraResponse<OrderInfoObject> res = doRequest(productKey, deviceName, params,
|
|
|
|
|
|
|
+ OrderInfoObject res = doRequest(productKey, deviceName, params,
|
|
|
new TypeReference<AwoaraResponse<OrderInfoObject>>() {});
|
|
new TypeReference<AwoaraResponse<OrderInfoObject>>() {});
|
|
|
- return res != null && res.getData() != null ? res.getData().getOrder_info() : null;
|
|
|
|
|
|
|
+ return res != null ? res.getOrder_info() : null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|