Compare commits

..

No commits in common. "main" and "test" have entirely different histories.
main ... test

444 changed files with 2036 additions and 9695 deletions

22
.gitignore vendored
View File

@ -41,15 +41,15 @@ buildNumber.properties
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
*.iml
!maven_private/**/*.jar
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
*.iml
!maven_private/**/*.jar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
@ -96,6 +96,4 @@ target/
devops-monitor-id_rsa.key
/claude/
.local-run/
.env
.local-run/

View File

@ -175,7 +175,6 @@ gateway:
- /product/apple/config
- /game/sud/**
- /web/pay/**
- /order/web/pay/**
- /external/oss/upload
- /telegram/webhook
- /account/create/getRegion
@ -198,12 +197,6 @@ gateway:
- /go/resident-activity/specified-gift-weekly-rank/**
- /resident-activity/specified-gift-weekly-rank/**
- /go/resident-activity/week-star/**
- /getUserInfo
- /go/getUserInfo
- /updateBalance
- /go/updateBalance
- /game/hotgame/**
- /go/game/hotgame/**
- /resident-activity/week-star/**
- /resident-activity/sign-in-reward/**
- /resident-activity/vip/**
@ -213,7 +206,6 @@ gateway:
- /resident-activity/voice-room-rocket/**
- /resident-activity/wheel/**
- /resident-activity/smash-golden-egg/**
- /operate/hotgame-game/**
- /operate/baishun-game/**
- /operate/lingxian-game/**
- /app-system/home-popups/**

View File

@ -49,18 +49,6 @@ red-circle:
factory-config:
cache-ttl-seconds: ${LIKEI_PAY_FACTORY_CONFIG_CACHE_TTL_SECONDS:300}
# V5Pay 功能默认开启;商户账号、密钥与所有外部地址只能由运行环境注入,仓库不提供伪造可用值。
v5-pay:
enabled: ${LIKEI_V5PAY_ENABLED:true}
merchant-no: ${LIKEI_V5PAY_MERCHANT_NO:}
app-key: ${LIKEI_V5PAY_APP_KEY:}
secret-key: ${LIKEI_V5PAY_SECRET_KEY:}
gateway-base-url: ${LIKEI_V5PAY_GATEWAY_BASE_URL:}
notify-url: ${LIKEI_V5PAY_NOTIFY_URL:}
return-url: ${LIKEI_V5PAY_RETURN_URL:}
# 共享商户必须隔离各系统 orderNo仅在供应商侧约定变化时覆盖。
order-prefix: ${LIKEI_V5PAY_ORDER_PREFIX:YUMI}
airwallex:
client-id: ${LIKEI_AIRWALLEX_CLIENT_ID}
api-key: ${LIKEI_AIRWALLEX_API_KEY}

View File

@ -39,11 +39,10 @@ public class LoginAccessValidationService {
"香港", "澳门", "澳門", "台湾", "台灣", "Hong Kong", "Macau", "Macao", "Taiwan"
);
private static final List<String> BLOCKED_COUNTRY_CODES = List.of(
"HK", "MO", "TW", "SG"
"MO"
);
private static final List<String> BLOCKED_COUNTRY_NAMES = List.of(
"香港", "澳门", "澳門", "台湾", "台灣", "新加坡",
"Hong Kong", "Macau", "Macao", "Taiwan", "Singapore"
"澳门", "澳門", "Macau", "Macao"
);
private static final List<IpGeoProvider> IP_GEO_PROVIDERS = List.of(
new IpGeoProvider("ip.sb", "https://api.ip.sb/geoip/%s"),

View File

@ -70,22 +70,22 @@ public class LoginAccessValidationServiceTest {
}
@Test
public void blockHongKongRegion() {
public void allowHongKongRegion() {
JSONObject data = JSON.parseObject("""
{"country_id":"CN","country":"中国","region":"香港"}
""");
assertFalse(LoginAccessValidationService.isMainlandChina(data));
assertTrue(LoginAccessValidationService.isBlockedIpRegion(data));
assertFalse(LoginAccessValidationService.isBlockedIpRegion(data));
}
@Test
public void blockHongKongCountryCode() {
public void allowHongKongCountryCode() {
JSONObject data = JSON.parseObject("""
{"country_id":"HK","country":"Hong Kong","region":"Kwai Tsing District"}
""");
assertTrue(LoginAccessValidationService.isBlockedIpRegion(data));
assertFalse(LoginAccessValidationService.isBlockedIpRegion(data));
}
@Test
@ -98,30 +98,30 @@ public class LoginAccessValidationServiceTest {
}
@Test
public void blockSingaporeCountryCode() {
public void allowSingaporeCountryCode() {
JSONObject data = JSON.parseObject("""
{"country_id":"SG","country":"Singapore","region":""}
""");
assertTrue(LoginAccessValidationService.isBlockedIpRegion(data));
assertFalse(LoginAccessValidationService.isBlockedIpRegion(data));
}
@Test
public void blockTaiwanRegion() {
public void allowTaiwanRegion() {
JSONObject data = JSON.parseObject("""
{"country_id":"CN","country":"中国","region":"台湾"}
""");
assertFalse(LoginAccessValidationService.isMainlandChina(data));
assertTrue(LoginAccessValidationService.isBlockedIpRegion(data));
assertFalse(LoginAccessValidationService.isBlockedIpRegion(data));
}
@Test
public void blockTaiwanCountryCode() {
public void allowTaiwanCountryCode() {
JSONObject data = JSON.parseObject("""
{"country_id":"TW","country":"Taiwan","region":""}
""");
assertTrue(LoginAccessValidationService.isBlockedIpRegion(data));
assertFalse(LoginAccessValidationService.isBlockedIpRegion(data));
}
}

View File

@ -39,7 +39,7 @@ public enum ConsoleAccountStatusEnum {
/**
* 账号解封.
*/
UNTIE_ACOOUNT("UNTIE_ACOOUNT", "账号解封"),
UNTIE_ACOOUNT("UNTIE_DEVICE", "账号解封"),
/**
* 设备+账户解封.

View File

@ -56,13 +56,9 @@ public class BuySuccessEvent implements Serializable {
*/
String payPlatform;
/**
* 本次充值请求的App版本.
*/
String appVersion;
/**
* 来源.
*/
/**
* 来源.
*/
String origin;
/**

View File

@ -29,9 +29,6 @@ public class RechargeSuccessEvent implements Serializable {
private String currency;
private String payPlatform;
private String paymentMethod;
private String googleProductId;
private String productId;
private String appVersion;
private String sourceOrderId;
private String orderId;
private String occurredAt;

View File

@ -43,7 +43,6 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.Locale;
import java.util.Objects;
import java.util.Optional;
import java.util.zip.GZIPInputStream;
@ -59,7 +58,6 @@ import java.util.zip.GZIPInputStream;
public class ApiLoggingFilter implements GlobalFilter, Ordered {
private static final int MAX_RESPONSE_BODY_LOG_LENGTH = 500;
private static final String REDACTED_V5PAY_BODY = "[REDACTED_V5PAY_CALLBACK]";
private final LoggingUploadService loggingUploadService;
private final List<HttpMessageReader<?>> messageReaders = HandlerStrategies.withDefaults()
@ -74,15 +72,9 @@ public class ApiLoggingFilter implements GlobalFilter, Ordered {
return chain.filter(exchange);
}
GatewayLogging logging = ApiLoggingUtils.createGatewayLogging(exchange);
if (isV5PayCallbackPath(request.getURI().getPath())) {
// V5Pay MD5 覆盖原始字段文本通用 bodyToMono -> JSON 重写会把 14400.00 变成
// 14400.0 并破坏验签同时还会把 sign/appKey 写入日志该回调必须完全不消费不重写 body
return writeSensitiveRawBodyLog(exchange, chain, logging);
}
return checkBodyType(exchange.getRequest())
GatewayLogging logging = ApiLoggingUtils.createGatewayLogging(exchange);
return checkBodyType(exchange.getRequest())
? writeBodyLog(exchange, chain, logging)
: writeBasicLog(exchange, chain, logging);
}
@ -194,30 +186,6 @@ public class ApiLoggingFilter implements GlobalFilter, Ordered {
};
}
static boolean isV5PayCallbackPath(String path) {
if (StringUtils.isBlank(path)) {
return false;
}
String normalized = path.toLowerCase(Locale.ROOT);
return normalized.endsWith("/play-server-notice/v5pay/receive_payment")
|| normalized.endsWith("/play-server-notice/v5_pay/receive_payment");
}
private Mono<Void> writeSensitiveRawBodyLog(ServerWebExchange exchange,
GatewayFilterChain chain,
GatewayLogging logging) {
// 明确写固定脱敏标记避免后续日志上传误以为 body 尚未采集并再次尝试读取敏感回调体
logging.getRequest().setBody(REDACTED_V5PAY_BODY);
ServerHttpResponseDecorator decoratedResponse = responseLog(exchange, logging);
ServerHttpRequest request = exchange.getRequest().mutate().headers(this::setRequestTraceId)
.build();
return chain.filter(exchange.mutate().request(request).response(decoratedResponse).build())
.then(Mono.fromRunnable(() -> {
ApiLoggingUtils.resetGatewayLogging(exchange, logging);
logging.uploadLog(loggingUploadService);
}));
}
private boolean isSuccessResponse(ServerHttpResponse response) {
HttpStatusCode statusCode = response.getStatusCode();
return statusCode == null || statusCode.is2xxSuccessful();

View File

@ -1,53 +0,0 @@
package com.red.circle.gateway.filter;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import com.red.circle.gateway.logging.LoggingUploadService;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.atomic.AtomicReference;
import org.junit.jupiter.api.Test;
import org.springframework.core.io.buffer.DataBufferUtils;
import org.springframework.http.MediaType;
import org.springframework.mock.http.server.reactive.MockServerHttpRequest;
import org.springframework.mock.web.server.MockServerWebExchange;
public class ApiLoggingFilterTest {
@Test
public void recognizesBothV5PayCallbackRoutesOnly() {
assertTrue(ApiLoggingFilter.isV5PayCallbackPath(
"/play-server-notice/v5pay/receive_payment"));
assertTrue(ApiLoggingFilter.isV5PayCallbackPath(
"/order/play-server-notice/v5_pay/receive_payment"));
assertFalse(ApiLoggingFilter.isV5PayCallbackPath(
"/play-server-notice/mifa_pay/receive_payment"));
}
@Test
public void v5PayJsonBodyPassesThroughWithoutNumericReserialization() {
byte[] raw = ("{\"orderNo\":\"YUMI42\",\"amount\":14400.00,"
+ "\"appKey\":\"sensitive\",\"sign\":\"signature\"}")
.getBytes(StandardCharsets.UTF_8);
MockServerWebExchange exchange = MockServerWebExchange.from(
MockServerHttpRequest.post("/play-server-notice/v5pay/receive_payment")
.contentType(MediaType.APPLICATION_JSON)
.body(new String(raw, StandardCharsets.UTF_8)));
AtomicReference<byte[]> forwarded = new AtomicReference<>();
ApiLoggingFilter filter = new ApiLoggingFilter(new LoggingUploadService(null));
filter.filter(exchange, forwardedExchange -> DataBufferUtils
.join(forwardedExchange.getRequest().getBody())
.doOnNext(buffer -> {
byte[] bytes = new byte[buffer.readableByteCount()];
buffer.read(bytes);
DataBufferUtils.release(buffer);
forwarded.set(bytes);
})
.then())
.block();
assertArrayEquals(raw, forwarded.get());
}
}

View File

@ -8,7 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/16
*/
@FeignClient(contextId = "authClient", name = "rc-auth", url = "${feign.auth.url:}", path = AuthClientApi.API_PREFIX)
@FeignClient(name = "authClient", url = "${feign.auth.url}" + AuthClientApi.API_PREFIX)
public interface AuthClient extends AuthClientApi {
}

View File

@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/15
*/
@FeignClient(contextId = "miniMaxClient", name = "rc-service-external", url = "${feign.external.url:}", path = MiniMaxClientApi.API_PREFIX)
@FeignClient(name = "miniMaxClient", url = "${feign.external.url}" +
MiniMaxClientApi.API_PREFIX)
public interface MiniMaxClient extends MiniMaxClientApi {
}

View File

@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/15
*/
@FeignClient(contextId = "qianFanClient", name = "rc-service-external", url = "${feign.external.url:}", path = QianFanClientApi.API_PREFIX)
@FeignClient(name = "qianFanClient", url = "${feign.external.url}" +
QianFanClientApi.API_PREFIX)
public interface QianFanClient extends QianFanClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/15
*/
@FeignClient(contextId = "ttsClient", name = "rc-service-external", url = "${feign.external.url:}", path = OssServiceClientApi.API_PREFIX)
@FeignClient(name = "ttsClient", url = "${feign.external.url}" +
OssServiceClientApi.API_PREFIX)
public interface TtsClient extends TtsClientApi {
}

View File

@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/15
*/
@FeignClient(contextId = "barrageGameClient", name = "rc-service-external", url = "${feign.external.url:}", path = BarrageGameClientApi.API_PREFIX)
@FeignClient(name = "barrageGameClient", url = "${feign.external.url}" +
BarrageGameClientApi.API_PREFIX)
public interface BarrageGameClient extends BarrageGameClientApi {
}

View File

@ -9,6 +9,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/17
*/
@FeignClient(contextId = "binanceClient", name = "rc-service-external", url = "${feign.external.url:}", path = CensorImageClientApi.API_PREFIX)
@FeignClient(name = "binanceClient", url = "${feign.external.url}" +
CensorImageClientApi.API_PREFIX)
public interface BinanceClient extends BinanceClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/17
*/
@FeignClient(contextId = "censorImageClient", name = "rc-service-external", url = "${feign.external.url:}", path = CensorImageClientApi.API_PREFIX)
@FeignClient(name = "censorImageClient", url = "${feign.external.url}" +
CensorImageClientApi.API_PREFIX)
public interface CensorImageClient extends CensorImageClientApi {
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author zongpubin on 2023/11/8
*/
@FeignClient(contextId = "googleTransactionClient", name = "rc-service-external", url = "${feign.external.url:}", path = GoogleTransactionClientApi.API_PREFIX)
@FeignClient(name = "googleTransactionClient", url = "${feign.external.url}" +
GoogleTransactionClientApi.API_PREFIX)
public interface GoogleTransactionClient extends GoogleTransactionClientApi {
}

View File

@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/7/12
*/
@FeignClient(contextId = "agoraClient", name = "rc-service-external", url = "${feign.external.url:}", path = AgoraClientApi.API_PREFIX)
@FeignClient(name = "agoraClient", url = "${feign.external.url}" +
AgoraClientApi.API_PREFIX)
public interface AgoraClient extends AgoraClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/7/12
*/
@FeignClient(contextId = "imAccountClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImAccountClientApi.API_PREFIX)
@FeignClient(name = "imAccountClient", url = "${feign.external.url}" +
ImAccountClientApi.API_PREFIX)
public interface ImAccountClient extends ImAccountClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/7
*/
@FeignClient(contextId = "imGroupAvClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImAccountClientApi.API_PREFIX)
@FeignClient(name = "imGroupAvClient", url = "${feign.external.url}" +
ImAccountClientApi.API_PREFIX)
public interface ImGroupAvClient extends ImGroupAvClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/16
*/
@FeignClient(contextId = "imGroupClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImGroupClientApi.API_PREFIX)
@FeignClient(name = "imGroupClient", url = "${feign.external.url}" +
ImGroupClientApi.API_PREFIX)
public interface ImGroupClient extends ImGroupClientApi {
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author pengliang on 2023/12/28
*/
@FeignClient(contextId = "imGroupMemberClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImGroupMemberClientApi.API_PREFIX)
@FeignClient(name = "imGroupMemberClient", url = "${feign.external.url}" +
ImGroupMemberClientApi.API_PREFIX)
public interface ImGroupMemberClient extends ImGroupMemberClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/7/12
*/
@FeignClient(contextId = "imMessageClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImMessageClientApi.API_PREFIX)
@FeignClient(name = "imMessageClient", url = "${feign.external.url}" +
ImMessageClientApi.API_PREFIX)
public interface ImMessageClient extends ImMessageClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/16
*/
@FeignClient(contextId = "imOperationClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImOperationClientApi.API_PREFIX)
@FeignClient(name = "imOperationClient", url = "${feign.external.url}" +
ImOperationClientApi.API_PREFIX)
public interface ImOperationClient extends ImOperationClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/15
*/
@FeignClient(contextId = "newsletterClient", name = "rc-service-external", url = "${feign.external.url:}", path = NewsletterClientApi.API_PREFIX)
@FeignClient(name = "newsletterClient", url = "${feign.external.url}" +
NewsletterClientApi.API_PREFIX)
public interface NewsletterClient extends NewsletterClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/7/12
*/
@FeignClient(contextId = "officialNoticeClient", name = "rc-service-external", url = "${feign.external.url:}", path = OfficialNoticeClientApi.API_PREFIX)
@FeignClient(name = "officialNoticeClient", url = "${feign.external.url}" +
OfficialNoticeClientApi.API_PREFIX)
public interface OfficialNoticeClient extends OfficialNoticeClientApi {
}

View File

@ -8,7 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/14
*/
@FeignClient(contextId = "smsClient", name = "rc-service-external", url = "${feign.external.url:}", path = SmsClientApi.API_PREFIX)
@FeignClient(name = "smsClient", url = "${feign.external.url}" + SmsClientApi.API_PREFIX)
public interface SmsClient extends SmsClientApi {
}

View File

@ -8,7 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/17
*/
@FeignClient(contextId = "trtcClient", name = "rc-service-external", url = "${feign.external.url:}", path = TrtcClientApi.API_PREFIX)
@FeignClient(name = "trtcClient", url = "${feign.external.url}" + TrtcClientApi.API_PREFIX)
public interface TrtcClient extends TrtcClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/15
*/
@FeignClient(contextId = "ossServiceClient", name = "rc-service-external", url = "${feign.external.url:}", path = OssServiceClientApi.API_PREFIX)
@FeignClient(name = "ossServiceClient", url = "${feign.external.url}" +
OssServiceClientApi.API_PREFIX)
public interface OssServiceClient extends OssServiceClientApi {
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author lisizhe on 2023/11/8
*/
@FeignClient(contextId = "pushSendClient", name = "rc-service-external", url = "${feign.external.url:}", path = GoogleFirebasePushClientApi.API_PREFIX)
@FeignClient(name = "pushSendClient", url = "${feign.external.url}" +
GoogleFirebasePushClientApi.API_PREFIX)
public interface GoogleFirebasePushClient extends GoogleFirebasePushClientApi {
}

View File

@ -8,7 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author longli on 2024/3/25
*/
@FeignClient(contextId = "ImClient", name = "rc-service-external", url = "${feign.external.url:}", path = ImClientApi.API_PREFIX)
@FeignClient(name = "ImClient", url = "${feign.external.url}" + ImClientApi.API_PREFIX)
public interface ImClient extends ImClientApi {
}

View File

@ -6,7 +6,7 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author pengliang on 2023/12/13
*/
@FeignClient(contextId = "liveMicClient", name = "rc-service-live", url = "${feign.live.url:}", path = LiveMicClientApi.API_PREFIX)
@FeignClient(name = "liveMicClient", url = "${feign.live.url}" + LiveMicClientApi.API_PREFIX)
public interface LiveMicClient extends LiveMicClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/12/26
*/
@FeignClient(contextId = "liveRoomUserClient", name = "rc-service-live", url = "${feign.live.url:}", path = LiveRoomUserClientApi.API_PREFIX)
@FeignClient(name = "liveRoomUserClient", url = "${feign.live.url}" +
LiveRoomUserClientApi.API_PREFIX)
public interface LiveRoomUserClient extends LiveRoomUserClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/3
*/
@FeignClient(contextId = "inAppPurchaseDetailsClient", name = "rc-service-order", url = "${feign.order.url:}", path = InAppPurchaseDetailsClientApi.API_PREFIX)
@FeignClient(name = "inAppPurchaseDetailsClient", url = "${feign.order.url}" +
InAppPurchaseDetailsClientApi.API_PREFIX)
public interface InAppPurchaseDetailsClient extends InAppPurchaseDetailsClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2024/1/23
*/
@FeignClient(contextId = "monthlyRechargeUserClient", name = "rc-service-order", url = "${feign.order.url:}", path = MonthlyRechargeUserClientApi.API_PREFIX)
@FeignClient(name = "monthlyRechargeUserClient", url = "${feign.order.url}" +
MonthlyRechargeUserClientApi.API_PREFIX)
public interface MonthlyRechargeUserClient extends MonthlyRechargeUserClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/3
*/
@FeignClient(contextId = "orderAbnormalLogClient", name = "rc-service-order", url = "${feign.order.url:}", path = OrderAbnormalLogClientApi.API_PREFIX)
@FeignClient(name = "orderAbnormalLogClient", url = "${feign.order.url}" +
OrderAbnormalLogClientApi.API_PREFIX)
public interface OrderAbnormalLogClient extends OrderAbnormalLogClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/3
*/
@FeignClient(contextId = "orderOtherRechargeClient", name = "rc-service-order", url = "${feign.order.url:}", path = OrderOtherRechargeClientClientApi.API_PREFIX)
@FeignClient(name = "orderOtherRechargeClient", url = "${feign.order.url}" +
OrderOtherRechargeClientClientApi.API_PREFIX)
public interface OrderOtherRechargeClientClient extends OrderOtherRechargeClientClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/3
*/
@FeignClient(contextId = "orderPurchaseFriendshipRecordClient", name = "rc-service-order", url = "${feign.order.url:}", path = OrderPurchaseFriendshipRecordClientApi.API_PREFIX)
@FeignClient(name = "orderPurchaseFriendshipRecordClient", url = "${feign.order.url}" +
OrderPurchaseFriendshipRecordClientApi.API_PREFIX)
public interface OrderPurchaseFriendshipRecordClient extends
OrderPurchaseFriendshipRecordClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/3
*/
@FeignClient(contextId = "orderPurchaseHistoryClient", name = "rc-service-order", url = "${feign.order.url:}", path = OrderPurchaseHistoryClientApi.API_PREFIX)
@FeignClient(name = "orderPurchaseHistoryClient", url = "${feign.order.url}" +
OrderPurchaseHistoryClientApi.API_PREFIX)
public interface OrderPurchaseHistoryClient extends OrderPurchaseHistoryClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/11/3
*/
@FeignClient(contextId = "payApplicationClient", name = "rc-service-order", url = "${feign.order.url:}", path = PayApplicationClientApi.API_PREFIX)
@FeignClient(name = "payApplicationClient", url = "${feign.order.url}" +
PayApplicationClientApi.API_PREFIX)
public interface PayApplicationClient extends PayApplicationClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/11/3
*/
@FeignClient(contextId = "payChannelClient", name = "rc-service-order", url = "${feign.order.url:}", path = PayChannelClientApi.API_PREFIX)
@FeignClient(name = "payChannelClient", url = "${feign.order.url}" +
PayChannelClientApi.API_PREFIX)
public interface PayChannelClient extends PayChannelClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/11/3
*/
@FeignClient(contextId = "payCountryClient", name = "rc-service-order", url = "${feign.order.url:}", path = PayCountryClientApi.API_PREFIX)
@FeignClient(name = "payCountryClient", url = "${feign.order.url}" +
PayCountryClientApi.API_PREFIX)
public interface PayCountryClient extends PayCountryClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/11/3
*/
@FeignClient(contextId = "payFactoryClient", name = "rc-service-order", url = "${feign.order.url:}", path = PayFactoryClientApi.API_PREFIX)
@FeignClient(name = "payFactoryClient", url = "${feign.order.url}" +
PayFactoryClientApi.API_PREFIX)
public interface PayFactoryClient extends PayFactoryClientApi {
}

View File

@ -8,7 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/9/13
*/
@FeignClient(contextId = "productClient", name = "rc-service-order", url = "${feign.order.url:}", path = ProductClientApi.API_PREFIX)
@FeignClient(name = "productClient", url = "${feign.order.url}" + ProductClientApi.API_PREFIX)
public interface ProductClient extends ProductClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/12/23
*/
@FeignClient(contextId = "roomRefundAnchorTrackRecordClient", name = "rc-service-order", url = "${feign.order.url:}", path = RoomRefundAnchorTrackRecordClientApi.API_PREFIX)
@FeignClient(name = "roomRefundAnchorTrackRecordClient", url = "${feign.order.url}" +
RoomRefundAnchorTrackRecordClientApi.API_PREFIX)
public interface RoomRefundAnchorTrackRecordClient extends RoomRefundAnchorTrackRecordClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2023/11/1
*/
@FeignClient(contextId = "sysProductConfigClient", name = "rc-service-order", url = "${feign.order.url:}", path = SysProductConfigClientApi.API_PREFIX)
@FeignClient(name = "sysProductConfigClient", url = "${feign.order.url}" +
SysProductConfigClientApi.API_PREFIX)
public interface SysProductConfigClient extends SysProductConfigClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2024/1/23
*/
@FeignClient(contextId = "userTotalRechargeClient", name = "rc-service-order", url = "${feign.order.url:}", path = TotalRechargeClientApi.API_PREFIX)
@FeignClient(name = "userTotalRechargeClient", url = "${feign.order.url}" +
TotalRechargeClientApi.API_PREFIX)
public interface TotalRechargeClient extends TotalRechargeClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2024/1/23
*/
@FeignClient(contextId = "totalRechargeUserClient", name = "rc-service-order", url = "${feign.order.url:}", path = TotalRechargeUserClientApi.API_PREFIX)
@FeignClient(name = "totalRechargeUserClient", url = "${feign.order.url}" +
TotalRechargeUserClientApi.API_PREFIX)
public interface TotalRechargeUserClient extends TotalRechargeUserClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/12/27
*/
@FeignClient(contextId = "userFreightRechargeRecordClient", name = "rc-service-order", url = "${feign.order.url:}", path = UserFreightRechargeRecordClientApi.API_PREFIX)
@FeignClient(name = "userFreightRechargeRecordClient", url = "${feign.order.url}" +
UserFreightRechargeRecordClientApi.API_PREFIX)
public interface UserFreightRechargeRecordClient extends UserFreightRechargeRecordClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2024/1/23
*/
@FeignClient(contextId = "userMonthlyRechargeClient", name = "rc-service-order", url = "${feign.order.url:}", path = UserMonthlyRechargeClientApi.API_PREFIX)
@FeignClient(name = "userMonthlyRechargeClient", url = "${feign.order.url}" +
UserMonthlyRechargeClientApi.API_PREFIX)
public interface UserMonthlyRechargeClient extends UserMonthlyRechargeClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/9/13
*/
@FeignClient(contextId = "userRechargeCountClient", name = "rc-service-order", url = "${feign.order.url:}", path = UserRechargeCountClientApi.API_PREFIX)
@FeignClient(name = "userRechargeCountClient", url = "${feign.order.url}" +
UserRechargeCountClientApi.API_PREFIX)
public interface UserRechargeCountClient extends UserRechargeCountClientApi {
}

View File

@ -3,13 +3,11 @@ package com.red.circle.order.inner.endpoint.api;
import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.order.inner.model.cmd.SysPayCountryAddCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryChannelCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryChannelDetailsCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryCurrencyRateSyncCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryQryCmd;
import com.red.circle.order.inner.model.dto.PayCountryCurrencyRateSyncDTO;
import com.red.circle.order.inner.model.dto.PayCountryDTO;
import com.red.circle.order.inner.model.cmd.SysPayCountryAddCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryChannelCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryChannelDetailsCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryQryCmd;
import com.red.circle.order.inner.model.dto.PayCountryDTO;
import com.red.circle.order.inner.model.dto.SysPayCountryChannelDTO;
import com.red.circle.order.inner.model.dto.SysPayCountryChannelDetailsDTO;
import java.math.BigDecimal;
@ -87,14 +85,10 @@ public interface PayCountryClientApi {
@GetMapping("/updateSort")
ResultResponse<Void> updateSort(@RequestParam("id") Long id, @RequestParam("sort") Integer sort);
@GetMapping("/shelf")
ResultResponse<Void> shelf(@RequestParam("id") Long id, @RequestParam("shelf") Boolean shelf);
@PostMapping("/syncCurrencyRates")
ResultResponse<PayCountryCurrencyRateSyncDTO> syncCurrencyRates(
@RequestBody SysPayCountryCurrencyRateSyncCmd cmd);
@GetMapping("/listPayCountryByRegionId")
ResultResponse<List<PayCountryDTO>> listPayCountryByRegionId(
@RequestParam("regionId") String regionId);
}
@GetMapping("/shelf")
ResultResponse<Void> shelf(@RequestParam("id") Long id, @RequestParam("shelf") Boolean shelf);
@GetMapping("/listPayCountryByRegionId")
ResultResponse<List<PayCountryDTO>> listPayCountryByRegionId(
@RequestParam("regionId") String regionId);
}

View File

@ -3,14 +3,13 @@ package com.red.circle.order.inner.model.cmd;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
@ -44,17 +43,11 @@ public class SysPayApplicationCommodityCmd extends CommonCommand {
/**
* 开通支付国家.
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long payCountryId;
/**
* 批量创建时的国家列表表结构仍是一条商品对应一个国家所以只在新增时拆成多条记录.
*/
@JsonSerialize(contentUsing = ToStringSerializer.class)
private List<Long> payCountryIds;
/**
* 区域ID.
@JsonSerialize(using = ToStringSerializer.class)
private Long payCountryId;
/**
* 区域ID.
*/
private String regionId;

View File

@ -1,33 +0,0 @@
package com.red.circle.order.inner.model.cmd;
import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.Digits;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* 支付国家货币汇率同步命令.
*
* @author system
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysPayCountryCurrencyRateSyncCmd extends CommonCommand {
private static final long serialVersionUID = 1L;
/**
* 上浮比例5 表示在实时汇率基础上增加 5%.
*/
@NotNull
@DecimalMin("0")
@DecimalMax("100")
@Digits(integer = 3, fraction = 4)
private BigDecimal markupPercent;
}

View File

@ -98,13 +98,8 @@ public class InAppPurchaseDetailsQryCmd extends Command {
*/
private String lastId;
/**
* 条数.
*/
private Integer limit;
/**
* 是否导出全部筛选结果导出时不使用 lastId limit 分页.
*/
private Boolean exportAll;
}
/**
* 条数.
*/
private Integer limit;
}

View File

@ -1,47 +0,0 @@
package com.red.circle.order.inner.model.dto;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* 支付国家货币汇率同步结果.
*
* @author system
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PayCountryCurrencyRateSyncDTO extends DTO {
@Serial
private static final long serialVersionUID = 1L;
/**
* 参与同步的支付国家数量.
*/
private Integer totalCount;
/**
* 已更新的支付国家数量.
*/
private Integer updatedCount;
/**
* 跳过的支付国家数量.
*/
private Integer skippedCount;
/**
* 汇率来源.
*/
private String sourceName;
/**
* 被跳过的国家说明.
*/
private List<String> skippedCountries;
}

View File

@ -22,12 +22,7 @@ public enum MonthlyRechargeType {
/**
* MifaPay
*/
MIFA_PAY,
/**
* V5Pay.
*/
V5_PAY,
MIFA_PAY,
/**
* Airwallex.
@ -98,7 +93,7 @@ public enum MonthlyRechargeType {
* 个人充值.
*/
public static List<MonthlyRechargeType> getPersonalRecharge() {
return List.of(HUAWEI, GOOGLE, APPLE, PAYER_MAX, MIFA_PAY, V5_PAY, AIRWALLEX, PAYNICORN,
return List.of(HUAWEI, GOOGLE, APPLE, PAYER_MAX, MIFA_PAY, AIRWALLEX, PAYNICORN,
STRIPE, PAY_PAL, CLIPSPAY, SHIPPING_AGENT, SALARY_EXCHANGE);
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author longli on @date 2024/3/14
*/
@FeignClient(contextId = "activityAgentAnchorCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = ActivityAgentAnchorCountClientApi.API_PREFIX)
@FeignClient(name = "activityAgentAnchorCountClient", url = "${feign.other.url}" +
ActivityAgentAnchorCountClientApi.API_PREFIX)
public interface ActivityAgentAnchorCountClient extends ActivityAgentAnchorCountClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/8
*/
@FeignClient(contextId = "activityGlobalizationDescriptionClient", name = "rc-service-other", url = "${feign.other.url:}", path = ActivityGlobalizationDescriptionClientApi.API_PREFIX)
@FeignClient(name = "activityGlobalizationDescriptionClient", url = "${feign.other.url}" +
ActivityGlobalizationDescriptionClientApi.API_PREFIX)
public interface ActivityGlobalizationDescriptionClient extends
ActivityGlobalizationDescriptionClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/10/9
*/
@FeignClient(contextId = "activityHallFameClient", name = "rc-service-other", url = "${feign.other.url:}", path = ActivityHallFameClientApi.API_PREFIX)
@FeignClient(name = "activityHallFameClient", url = "${feign.other.url}" +
ActivityHallFameClientApi.API_PREFIX)
public interface ActivityHallFameClient extends ActivityHallFameClientApi {
}

View File

@ -7,7 +7,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* 活动图片配置
* @author zongpubin on 2024/1/29
*/
@FeignClient(contextId = "activityPictureConfigClient", name = "rc-service-other", url = "${feign.other.url:}", path = ActivityPictureConfigClientApi.API_PREFIX)
@FeignClient(name = "activityPictureConfigClient", url = "${feign.other.url}" +
ActivityPictureConfigClientApi.API_PREFIX)
public interface ActivityPictureConfigClient extends ActivityPictureConfigClientApi {
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author zongpubin on 2023/8/15
*/
@FeignClient(contextId = "agentActivityCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = AgentActivityCountClientApi.API_PREFIX)
@FeignClient(name = "agentActivityCountClient", url = "${feign.other.url}" +
AgentActivityCountClientApi.API_PREFIX)
public interface AgentActivityCountClient extends AgentActivityCountClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/16
*/
@FeignClient(contextId = "appRankCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = AppRankCountClientApi.API_PREFIX)
@FeignClient(name = "appRankCountClient", url = "${feign.other.url}" +
AppRankCountClientApi.API_PREFIX)
public interface AppRankCountClient extends AppRankCountClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/8/18
*/
@FeignClient(contextId = "cumulativeRechargeClient", name = "rc-service-other", url = "${feign.other.url:}", path = CumulativeRechargeClientApi.API_PREFIX)
@FeignClient(name = "cumulativeRechargeClient", url = "${feign.other.url}" +
CumulativeRechargeClientApi.API_PREFIX)
public interface CumulativeRechargeClient extends CumulativeRechargeClientApi {
}

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* @author pengliang on 2023/5/26
*/
@FeignClient(contextId = "inviteActivityCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = InviteActivityCountClientApi.API_PREFIX)
@FeignClient(name = "inviteActivityCountClient", url = "${feign.other.url}" +
InviteActivityCountClientApi.API_PREFIX)
public interface InviteActivityCountClient extends InviteActivityCountClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryActivityClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryActivityClientApi.API_PREFIX)
@FeignClient(name = "lotteryActivityClient", url = "${feign.other.url}" +
LotteryActivityClientApi.API_PREFIX)
public interface LotteryActivityClient extends LotteryActivityClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryActivityManageClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryActivityManageClientApi.API_PREFIX)
@FeignClient(name = "lotteryActivityManageClient", url = "${feign.other.url}" +
LotteryActivityManageClientApi.API_PREFIX)
public interface LotteryActivityManageClient extends LotteryActivityManageClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryActivityQueryClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryActivityQueryClientApi.API_PREFIX)
@FeignClient(name = "lotteryActivityQueryClient", url = "${feign.other.url}" +
LotteryActivityQueryClientApi.API_PREFIX)
public interface LotteryActivityQueryClient extends LotteryActivityQueryClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryPrizeClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryPrizeClientApi.API_PREFIX)
@FeignClient(name = "lotteryPrizeClient", url = "${feign.other.url}" +
LotteryPrizeClientApi.API_PREFIX)
public interface LotteryPrizeClient extends LotteryPrizeClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryPrizeManageClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryPrizeManageClientApi.API_PREFIX)
@FeignClient(name = "lotteryPrizeManageClient", url = "${feign.other.url}" +
LotteryPrizeManageClientApi.API_PREFIX)
public interface LotteryPrizeManageClient extends LotteryPrizeManageClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryRecordClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryRecordClientApi.API_PREFIX)
@FeignClient(name = "lotteryRecordClient", url = "${feign.other.url}" +
LotteryRecordClientApi.API_PREFIX)
public interface LotteryRecordClient extends LotteryRecordClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryRecordManageClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryRecordManageClientApi.API_PREFIX)
@FeignClient(name = "lotteryRecordManageClient", url = "${feign.other.url}" +
LotteryRecordManageClientApi.API_PREFIX)
public interface LotteryRecordManageClient extends LotteryRecordManageClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryTicketClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryTicketClientApi.API_PREFIX)
@FeignClient(name = "lotteryTicketClient", url = "${feign.other.url}" +
LotteryTicketClientApi.API_PREFIX)
public interface LotteryTicketClient extends LotteryTicketClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryTicketManageClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryTicketManageClientApi.API_PREFIX)
@FeignClient(name = "lotteryTicketManageClient", url = "${feign.other.url}" +
LotteryTicketManageClientApi.API_PREFIX)
public interface LotteryTicketManageClient extends LotteryTicketManageClientApi {
}

View File

@ -9,7 +9,8 @@ import org.springframework.cloud.openfeign.FeignClient;
* @author system
* @since 2025-10-18
*/
@FeignClient(contextId = "lotteryUserCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = LotteryUserCountClientApi.API_PREFIX)
@FeignClient(name = "lotteryUserCountClient", url = "${feign.other.url}" +
LotteryUserCountClientApi.API_PREFIX)
public interface LotteryUserCountClient extends LotteryUserCountClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/6/5
*/
@FeignClient(contextId = "propsActivityCnfClient", name = "rc-service-other", url = "${feign.other.url:}", path = PropsActivityClientApi.API_PREFIX)
@FeignClient(name = "propsActivityCnfClient", url = "${feign.other.url}" +
PropsActivityClientApi.API_PREFIX)
public interface PropsActivityClient extends PropsActivityClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/2
*/
@FeignClient(contextId = "roomContributionActivityCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = RoomContributionActivityCountClientApi.API_PREFIX)
@FeignClient(name = "roomContributionActivityCountClient", url = "${feign.other.url}" +
RoomContributionActivityCountClientApi.API_PREFIX)
public interface RoomContributionActivityCountClient extends
RoomContributionActivityCountClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/23
*/
@FeignClient(contextId = "roomContributionCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = RoomContributionCountClientApi.API_PREFIX)
@FeignClient(name = "roomContributionCountClient", url = "${feign.other.url}" +
RoomContributionCountClientApi.API_PREFIX)
public interface RoomContributionCountClient extends RoomContributionCountClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lixiaofei on 2024/7/8
*/
@FeignClient(contextId = "temporaryActivityCountClient", name = "rc-service-other", url = "${feign.other.url:}", path = TemporaryActivityCountClientApi.API_PREFIX)
@FeignClient(name = "temporaryActivityCountClient", url = "${feign.other.url}" +
TemporaryActivityCountClientApi.API_PREFIX)
public interface TemporaryActivityCountClient extends TemporaryActivityCountClientApi {

View File

@ -6,7 +6,8 @@ import org.springframework.cloud.openfeign.FeignClient;
/**
* 用户活动充值服务
*/
@FeignClient(contextId = "userActivityRechargeClient", name = "rc-service-other", url = "${feign.other.url:}", path = UserActivityRechargeClientApi.API_PREFIX)
@FeignClient(name = "userActivityRechargeClient", url = "${feign.other.url}" +
UserActivityRechargeClientApi.API_PREFIX)
public interface UserActivityRechargeClient extends UserActivityRechargeClientApi {
}

View File

@ -8,6 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/16
*/
@FeignClient(contextId = "aiQianFanChatClient", name = "rc-service-other", url = "${feign.other.url:}", path = AiQianFanChatClientApi.API_PREFIX)
@FeignClient(name = "aiQianFanChatClient", url = "${feign.other.url}" +
AiQianFanChatClientApi.API_PREFIX)
public interface AiQianFanChatClient extends AiQianFanChatClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/5/25
*/
@FeignClient(contextId = "approvalUserSettingDataClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalUserSettingDataClientApi.API_PREFIX)
@FeignClient(name = "approvalUserSettingDataClient", url = "${feign.other.url}" +
ApprovalUserSettingDataClientApi.API_PREFIX)
public interface ApprovalUserSettingDataClient extends ApprovalUserSettingDataClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/22
*/
@FeignClient(contextId = "approvalUserViolationHistoryClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalUserViolationHistoryClientApi.API_PREFIX)
@FeignClient(name = "approvalUserViolationHistoryClient", url = "${feign.other.url}" +
ApprovalUserViolationHistoryClientApi.API_PREFIX)
public interface ApprovalUserViolationHistoryClient extends ApprovalUserViolationHistoryClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/12/27
*/
@FeignClient(contextId = "managerApprovalNotPassClient", name = "rc-service-other", url = "${feign.other.url:}", path = ManagerApprovalNotPassClientApi.API_PREFIX)
@FeignClient(name = "managerApprovalNotPassClient", url = "${feign.other.url}" +
ManagerApprovalNotPassClientApi.API_PREFIX)
public interface ManagerApprovalNotPassClient extends ManagerApprovalNotPassClientApi {
}

View File

@ -3,7 +3,8 @@ package com.red.circle.other.inner.endpoint.approval;
import com.red.circle.other.inner.endpoint.approval.api.TeamApplicationProcessApprovalClientApi;
import org.springframework.cloud.openfeign.FeignClient;
@FeignClient(contextId = "teamApplicationProcessApprovalClient", name = "rc-service-other", url = "${feign.other.url:}", path = TeamApplicationProcessApprovalClientApi.API_PREFIX)
@FeignClient(name = "teamApplicationProcessApprovalClient", url = "${feign.other.url}" +
TeamApplicationProcessApprovalClientApi.API_PREFIX)
public interface TeamApplicationProcessApprovalClient extends
TeamApplicationProcessApprovalClientApi {

View File

@ -4,7 +4,8 @@ package com.red.circle.other.inner.endpoint.approval;
import com.red.circle.other.inner.endpoint.approval.api.TeamApplicationProcessClientApi;
import org.springframework.cloud.openfeign.FeignClient;
@FeignClient(contextId = "teamApplicationProcessClient", name = "rc-service-other", url = "${feign.other.url:}", path = TeamApplicationProcessClientApi.API_PREFIX)
@FeignClient(name = "teamApplicationProcessClient", url = "${feign.other.url}" +
TeamApplicationProcessClientApi.API_PREFIX)
public interface TeamApplicationProcessClient extends TeamApplicationProcessClientApi {
}

View File

@ -3,7 +3,8 @@ package com.red.circle.other.inner.endpoint.approval;
import com.red.circle.other.inner.endpoint.approval.api.TeamTerminationFeeRecordClientApi;
import org.springframework.cloud.openfeign.FeignClient;
@FeignClient(contextId = "teamTerminationFeeRecordClient", name = "rc-service-other", url = "${feign.other.url:}", path = TeamTerminationFeeRecordClientApi.API_PREFIX)
@FeignClient(name = "teamTerminationFeeRecordClient", url = "${feign.other.url}" +
TeamTerminationFeeRecordClientApi.API_PREFIX)
public interface TeamTerminationFeeRecordClient extends TeamTerminationFeeRecordClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/17
*/
@FeignClient(contextId = "statisticsPropsSaleQuotaClient", name = "rc-service-other", url = "${feign.other.url:}", path = StatisticsPropsSaleQuotaClientApi.API_PREFIX)
@FeignClient(name = "statisticsPropsSaleQuotaClient", url = "${feign.other.url}" +
StatisticsPropsSaleQuotaClientApi.API_PREFIX)
public interface StatisticsPropsSaleQuotaClient extends StatisticsPropsSaleQuotaClientApi {

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author pengliang on 2023/11/16
*/
@FeignClient(contextId = "statisticsRoomActiveClient", name = "rc-service-other", url = "${feign.other.url:}", path = StatisticsRoomActiveClientApi.API_PREFIX)
@FeignClient(name = "statisticsRoomActiveClient", url = "${feign.other.url}" +
StatisticsRoomActiveClientApi.API_PREFIX)
public interface StatisticsRoomActiveClient extends StatisticsRoomActiveClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/22
*/
@FeignClient(contextId = "approvalDateInfoClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalDataInfoClientApi.API_PREFIX)
@FeignClient(name = "approvalDateInfoClient", url = "${feign.other.url}" +
ApprovalDataInfoClientApi.API_PREFIX)
public interface ApprovalDataInfoClient extends ApprovalDataInfoClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/19
*/
@FeignClient(contextId = "ApprovalDynamicClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalDynamicClientApi.API_PREFIX)
@FeignClient(name = "ApprovalDynamicClient", url = "${feign.other.url}" +
ApprovalDynamicClientApi.API_PREFIX)
public interface ApprovalDynamicClient extends ApprovalDynamicClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/20
*/
@FeignClient(contextId = "approvalDynamicReportClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalDynamicReportClientApi.API_PREFIX)
@FeignClient(name = "approvalDynamicReportClient", url = "${feign.other.url}" +
ApprovalDynamicReportClientApi.API_PREFIX)
public interface ApprovalDynamicReportClient extends ApprovalDynamicReportClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/20
*/
@FeignClient(contextId = "approvalFamilySettingDataClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalFamilySettingDataClientApi.API_PREFIX)
@FeignClient(name = "approvalFamilySettingDataClient", url = "${feign.other.url}" +
ApprovalFamilySettingDataClientApi.API_PREFIX)
public interface ApprovalFamilySettingDataClient extends ApprovalFamilySettingDataClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author zongpubin on 2024/1/22
*/
@FeignClient(contextId = "approvalUserSettingInfoClient", name = "rc-service-other", url = "${feign.other.url:}", path = ApprovalUserSettingInfoClientApi.API_PREFIX)
@FeignClient(name = "approvalUserSettingInfoClient", url = "${feign.other.url}" +
ApprovalUserSettingInfoClientApi.API_PREFIX)
public interface ApprovalUserSettingInfoClient extends ApprovalUserSettingInfoClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/10/5
*/
@FeignClient(contextId = "dynamicBlacklistClient", name = "rc-service-other", url = "${feign.other.url:}", path = DynamicBlacklistClientApi.API_PREFIX)
@FeignClient(name = "dynamicBlacklistClient", url = "${feign.other.url}" +
DynamicBlacklistClientApi.API_PREFIX)
public interface DynamicBlacklistClient extends DynamicBlacklistClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/10/5
*/
@FeignClient(contextId = "dynamicCacheClient", name = "rc-service-other", url = "${feign.other.url:}", path = DynamicCacheClientApi.API_PREFIX)
@FeignClient(name = "dynamicCacheClient", url = "${feign.other.url}" +
DynamicCacheClientApi.API_PREFIX)
public interface DynamicCacheClient extends DynamicCacheClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/10/5
*/
@FeignClient(contextId = "dynamicContentClient", name = "rc-service-other", url = "${feign.other.url:}", path = DynamicContentClientApi.API_PREFIX)
@FeignClient(name = "dynamicContentClient", url = "${feign.other.url}" +
DynamicContentClientApi.API_PREFIX)
public interface DynamicContentClient extends DynamicContentClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/10/5
*/
@FeignClient(contextId = "dynamicPictureClient", name = "rc-service-other", url = "${feign.other.url:}", path = DynamicPictureClientApi.API_PREFIX)
@FeignClient(name = "dynamicPictureClient", url = "${feign.other.url}" +
DynamicPictureClientApi.API_PREFIX)
public interface DynamicPictureClient extends DynamicPictureClientApi {
}

View File

@ -8,7 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
*
* @author lisizhe on 2023/10/5
*/
@FeignClient(contextId = "dynamicTagClient", name = "rc-service-other", url = "${feign.other.url:}", path = DynamicTagClientApi.API_PREFIX)
@FeignClient(name = "dynamicTagClient", url = "${feign.other.url}" +
DynamicTagClientApi.API_PREFIX)
public interface DynamicTagClient extends DynamicTagClientApi {
}

Some files were not shown because too many files have changed in this diff Show More