fix bug
This commit is contained in:
@@ -218,7 +218,7 @@ public class MoneyApiController {
|
||||
return ServerResponse.createBySuccess(json1);
|
||||
}
|
||||
|
||||
String url = String.format("https://priceapi.moneycontrol.com/pricefeed/%s/equitycash/%s", stockType, symbol);
|
||||
String url = String.format("https://priceapi.moneycontrol.com/pricefeed/%s/equitycash/%s", stockType.toLowerCase(), symbol);
|
||||
int maxRetries = 3;
|
||||
for (int retry = 1; retry <= maxRetries; retry++) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user