|
|
@@ -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();
|
|
|
|