zoujiajian 4 hónapja
szülő
commit
6a949b039c

+ 2 - 1
netflix-service/src/main/java/com/cyksj/service/recharge/impl/AfDianRechargeServiceImpl.java

@@ -334,7 +334,8 @@ public class AfDianRechargeServiceImpl implements AfDianRechargeService {
 	}
 
 	public AfDianTaskStatusResp getCardKeyUseStatus(String cardKey, String rechargeAccount) throws Exception {
-		String searchStatusByCardKeyUrl = "https://cz.afdian.org/api/cdks/public/check-usage/" + cardKey;
+        String BASE_URL = gptRechargeCardKeyChannelService.getCardKeyDomain(cardKey);
+        String searchStatusByCardKeyUrl = BASE_URL + "/cdks/public/check-usage/" + cardKey;
 
 		HttpResponse searchResp = HttpRequest.get(searchStatusByCardKeyUrl).setConnectionTimeout(10000).execute();