Compare commits

..

76 Commits

Author SHA1 Message Date
hy001
48d2090458 refactor: 全部服务间 feign client 支持服务发现双模式
继 other(146db16) 之后,wallet/external/order/live/auth 的 inner-api
feign client 同样改为 contextId + name=<Nacos服务名> + url=${feign.X.url:} + path。

启动参数 --feign.X.url= 置空即走 Nacos 服务发现;保留原值则走固定 URL。
console/gateway 无 feign client,无需改动;game-fruit 原样保留。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 18:39:42 +08:00
hy001
146db166fc refactor: other 服务 feign client 支持服务发现双模式
@FeignClient 改为 contextId 保留原 bean 名,name=rc-service-other,
url 使用 ${feign.other.url:}(带空默认值),API 前缀挪到 path。

行为:feign.other.url 配置存在(当前各服务启动参数注入 CLB VIP)时与原来
完全一致;置空/移除该参数后自动切换为 Nacos 服务发现负载均衡(lb)。

背景:内网 CLB 对"客户端本身是后端"的流量只调度到对面后端,对面实例被摘
除时连接被黑洞,导致部署 other 时调用方(live)线程池被拖死。切服务发现后
配合平台的 Nacos 摘流 + framework-nacos 的 LB 缓存驱逐实现无损发布。

先灰度 live→other(移除 live 启动参数中的 --feign.other.url),验证后全量。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 18:20:37 +08:00
hy001
431f73469e fix: 设备指纹代理限制的封禁豁免补到真正的调用链上
上次修复(0a29464)只改了 other-inner-endpoint 的 RegisterDeviceClientServiceImpl,
但全部 8 个业务拦截点(BD邀请代理/接受邀请建团/代理邀请主播/申请加入公会/后台加成员等)
走的都是 other-infrastructure 的 RegisterDeviceGatewayImpl(领域网关唯一实现),
该实现没有封禁豁免,导致线上 BD 邀请仍报 6054。

本次修复:
1. RegisterDeviceGatewayImpl 循环内补豁免:同设备账号已封禁(checkAccountArchive)
   或已注销(profile 为 null,逻辑删过滤)的,不再占用设备主播/代理名额;
2. 设备白名单改为按分隔符切分后精确比对账号,修复子串误命中(账号123被白名单51234命中);
3. RegisterDeviceClientServiceImpl 的重复实现改为单行委托领域网关,消除双份逻辑漂移;
4. 新增 RegisterDeviceGatewayImplTest 覆盖豁免/白名单/手动黑白名单 7 个场景。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 17:42:32 +08:00
hy001
0a29464a82 修复一下问题 2026-07-10 12:09:27 +08:00
hy001
7ead4fcc85 Merge branch 'main' of https://gitea.haiyihy.com/hy/chatapp3-java 2026-07-01 14:52:48 +08:00
hy001
c73d224e19 筛选 2026-07-01 14:52:47 +08:00
local
d7c3fbf721 fix account unblock login cache 2026-06-30 23:16:10 +08:00
hy001
97738f5b5e 充值 2026-06-25 23:37:58 +08:00
hy001
9de0155d7e 商品 2026-06-25 22:52:50 +08:00
hy001
18b49c9db4 三方支付 2026-06-25 22:37:00 +08:00
hy001
986f7507e7 切换支付国家汇率同步数据源 2026-06-25 17:21:30 +08:00
hy001
9957dc2a27 修复汇率同步非法国家码 2026-06-25 17:10:34 +08:00
hy001
c39dac772a order 和 console 2026-06-25 16:13:09 +08:00
hy001
1826aa10ab 经理中心 2026-06-24 15:39:54 +08:00
hy001
21bab83eea 相关支付 2026-06-24 12:57:33 +08:00
hy001
720c7cec50 Block HK MO TW SG login regions 2026-06-22 13:36:29 +08:00
hy001
de95193bda 经理中心 2026-06-12 19:36:53 +08:00
hy001
2736b25fbe 1 2026-06-10 19:00:45 +08:00
hy001
c56c9db06f 修复显示 2026-06-09 16:14:23 +08:00
hy001
c7016d5ae4 增加订单导出 2026-06-09 15:43:05 +08:00
hy001
c8e9c8c257 增加导出 2026-06-04 12:11:55 +08:00
hy001
7f7649d6bd Merge branch 'test'
# Conflicts:
#	rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/scheduler/TeamBillTask.java
#	rc-service/rc-service-other/other-inner-endpoint/src/main/java/com/red/circle/other/app/inner/service/team/impl/TeamManualSalaryPaymentClientServiceImpl.java
#	rc-service/rc-service-other/other-inner-endpoint/src/test/java/com/red/circle/other/app/inner/service/team/impl/TeamManualSalaryPaymentClientServiceImplTest.java
2026-06-01 19:58:08 +08:00
hy001
85f3ffbc10 自动结算 2026-06-01 19:46:48 +08:00
hy001
3c920ee208 fix: keep bill cycle switch while salary paused 2026-06-01 10:44:13 +08:00
hy001
e3be12cd8b 支持手动工资按月度账期发放 2026-05-29 20:56:57 +08:00
hy001
973f76a438 增加首冲 2026-05-28 15:07:52 +08:00
hy001
7541ba77a6 feat: expose dashboard recharge user metrics 2026-05-27 21:33:56 +08:00
hy001
8feecc423c Add country dashboard ARPU summary 2026-05-27 17:01:20 +08:00
hy001
0464935619 增加支付版本判断 2026-05-25 23:22:51 +08:00
hy001
d799d68946 修复工资发放 2026-05-25 20:34:00 +08:00
hy001
c2bd1554f9 Merge branch 'test' 2026-05-25 20:07:17 +08:00
hy001
6573219751 修复送礼报错 2026-05-25 17:07:13 +08:00
hy001
c2e28b5cb3 增加校验 2026-05-25 16:22:18 +08:00
hy001
0260498bd3 CP关系申请 问题修复 2026-05-25 14:32:15 +08:00
hy001
f837d75d42 Fix manual salary top-up settlement 2026-05-25 14:23:17 +08:00
hy001
7e70b3809c Expose salary transfer in country dashboard 2026-05-25 13:23:34 +08:00
hy001
e5eeebf84a cp功能修复 2026-05-25 11:16:53 +08:00
hy001
d53728e874 fix: refresh dashboard active retention metrics 2026-05-25 11:16:45 +08:00
hy001
1520362d9f Merge branch 'main' of gitea.haiyihy.com:hy/chatapp3-java 2026-05-25 10:40:04 +08:00
hy001
6405052215 vip时间设置 2026-05-25 10:40:03 +08:00
hy001
74fd42330e fix: complete country dashboard derived metrics 2026-05-24 14:08:31 +08:00
hy001
4112160656 Merge branch 'main' of gitea.haiyihy.com:hy/chatapp3-java 2026-05-23 21:26:46 +08:00
hy001
98d80c6732 修复竟态 2026-05-23 21:26:35 +08:00
hy001
b98d91a2fb 修复时间问题 2026-05-23 21:14:47 +08:00
hy001
b9361ac3ff 增加新的接口 2026-05-23 21:05:03 +08:00
hy001
aab443ce34 修复重复发消息 2026-05-23 20:09:54 +08:00
hy001
32543b958c cp 2026-05-23 19:07:47 +08:00
hy001
5359be337d 修复一些问题 2026-05-23 14:54:40 +08:00
hy001
fa6b9be148 修复边界 2026-05-23 14:02:23 +08:00
hy001
7299b1c088 fix: precompute country dashboard active metrics 2026-05-23 13:27:45 +08:00
hy001
3588d0aeee Merge branch 'main' into test 2026-05-23 13:18:30 +08:00
hy001
0bf810261f 修复首冲 2026-05-23 13:17:06 +08:00
hy001
35458a674e fix: make country dashboard backfill atomic 2026-05-23 12:27:44 +08:00
hy001
dfb71f55a8 Merge branch 'main' into test 2026-05-23 12:20:10 +08:00
hy001
c99542ebe9 修改CP相关 2026-05-23 12:19:57 +08:00
hy001
3168637944 已有关系拒绝其他关系 2026-05-22 21:23:19 +08:00
hy001
dca9f12cb5 新增发IM C2c 2026-05-22 20:11:20 +08:00
hy001
a0461ce68c CP关系解绑需要金币 2026-05-22 19:17:41 +08:00
hy001
40a8f90e01 默认topic 2026-05-22 18:12:46 +08:00
hy001
f540fc91bc use precomputed country dashboard metrics 2026-05-22 18:10:32 +08:00
hy001
505bdf6345 cp rocketmq 2026-05-22 15:59:09 +08:00
hy001
8f573739a2 cp系统完善 2026-05-22 15:57:48 +08:00
hy001
9e37b347a3 cp积分 2026-05-22 13:27:22 +08:00
hy001
e897d635ea 首冲奖励 2026-05-22 10:10:15 +08:00
hy001
8e37a3d333 CP关系冷静期解除 2026-05-21 16:19:53 +08:00
hy001
3f59e5b653 CP 2026-05-21 15:43:38 +08:00
hy001
c02050274b fix manual salary received total display 2026-05-21 15:06:03 +08:00
hy001
8460125d79 expose manual salary role breakdown 2026-05-21 14:05:38 +08:00
hy001
d0d48d71ac include agent salary in manual settlement 2026-05-21 13:59:36 +08:00
hy001
3cef4fc322 fix manual salary settlement net payable 2026-05-21 13:46:33 +08:00
hy001
a48fddb613 Merge branch 'release/redis-memory-fix-20260521' of gitea.haiyihy.com:hy/chatapp3-java 2026-05-21 11:19:21 +08:00
hy001
7bc8b44450 Merge branch 'main' of gitea.haiyihy.com:hy/chatapp3-java 2026-05-21 11:19:05 +08:00
hy001
a8424ad5e3 分国家发放工资 2026-05-21 11:19:04 +08:00
ZuoZuo
baaf171151 feat(manager): support badge gifts 2026-05-20 19:59:34 +08:00
hy001
a0cc63d784 fix: tolerate duplicate region configs 2026-05-20 14:11:54 +08:00
hy001
663affb734 Reopen salary exchange and user coin seller transfer 2026-05-20 12:32:45 +08:00
460 changed files with 11863 additions and 2272 deletions

2
.gitignore vendored
View File

@ -97,3 +97,5 @@ devops-monitor-id_rsa.key
/claude/ /claude/
.local-run/ .local-run/
.env

View File

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

View File

@ -128,6 +128,13 @@ task:
topic: ${TASK_CENTER_EVENT_MQ_TOPIC:RC_DEFAULT_APP_ORDINARY} topic: ${TASK_CENTER_EVENT_MQ_TOPIC:RC_DEFAULT_APP_ORDINARY}
tag: ${TASK_CENTER_EVENT_MQ_TAG:task_center_event} tag: ${TASK_CENTER_EVENT_MQ_TAG:task_center_event}
cp:
relation-broadcast:
mq:
enabled: ${CP_RELATION_BROADCAST_MQ_ENABLED:true}
topic: ${CP_RELATION_BROADCAST_MQ_TOPIC:RC_DEFAULT_APP_ORDINARY}
tag: ${CP_RELATION_BROADCAST_MQ_TAG:cp_relation_broadcast}
voice-room: voice-room:
region-broadcast: region-broadcast:
go: go:

View File

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

View File

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

View File

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

View File

@ -51,4 +51,9 @@ public class GiveGiftConfig implements Serializable {
*/ */
private String giftTab; private String giftTab;
/**
* CP礼物关系类型CP/BROTHER/SISTERS.
*/
private String cpRelationType;
} }

View File

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

View File

@ -0,0 +1,39 @@
package com.red.circle.mq.business.model.event.pay;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.util.Map;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* 通用充值成功事件
*/
@Data
@Accessors(chain = true)
public class RechargeSuccessEvent implements Serializable {
private static final long serialVersionUID = 1L;
private String eventId;
private String sysOrigin;
@JsonSerialize(using = ToStringSerializer.class)
private Long userId;
@JsonSerialize(using = ToStringSerializer.class)
private Long amountCents;
private String amountUsd;
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;
private Map<String, Object> payload;
}

View File

@ -22,6 +22,11 @@ public interface QueueNameConstant {
*/ */
String BUY_SUCCESS = "BUY_SUCCESS"; String BUY_SUCCESS = "BUY_SUCCESS";
/**
* 通用充值成功
*/
String RECHARGE_SUCCESS = "RECHARGE_SUCCESS";
/** /**
* 视频语音房间会话 * 视频语音房间会话
*/ */

View File

@ -0,0 +1,12 @@
package com.red.circle.mq.rocket.business.streams;
import com.red.circle.mq.rocket.business.constant.QueueNameConstant;
/**
* 通用充值成功事件
*/
public interface RechargeSuccessSink {
String INPUT = QueueNameConstant.RECHARGE_SUCCESS;
String TAG = "recharge_success_v1";
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,11 @@
package com.red.circle.external.inner.endpoint.message.api; package com.red.circle.external.inner.endpoint.message.api;
import com.red.circle.framework.dto.ResultResponse; import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.external.inner.model.cmd.message.CustomC2cMsgBodyCmd;
import jakarta.validation.Valid;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
/** /**
@ -29,4 +33,10 @@ public interface ImMessageClientApi {
@RequestParam("toAccount") Long toAccount, @RequestParam("toAccount") Long toAccount,
@RequestParam("text") String text); @RequestParam("text") String text);
/**
* 发送 C2C 自定义消息.
*/
@PostMapping("/sendCustomMessage")
ResultResponse<Void> sendCustomMessage(@RequestBody @Valid CustomC2cMsgBodyCmd cmd);
} }

View File

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

View File

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

View File

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

View File

@ -0,0 +1,91 @@
package com.red.circle.external.inner.model.cmd.message;
import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* C2C custom IM message.
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class CustomC2cMsgBodyCmd extends Command {
@Serial
private static final long serialVersionUID = 1L;
@NotBlank(message = "fromAccount required.")
private String fromAccount;
@NotBlank(message = "toAccount required.")
private String toAccount;
@NotBlank(message = "desc required.")
private String desc;
@NotNull(message = "data required.")
private Object data;
private Integer syncOtherMachine;
public static CustomC2cMsgBodyBuilder builder() {
return new CustomC2cMsgBodyBuilder();
}
public static class CustomC2cMsgBodyBuilder {
private String fromAccount;
private String toAccount;
private String desc;
private Object data;
private Integer syncOtherMachine;
public CustomC2cMsgBodyBuilder fromAccount(String fromAccount) {
this.fromAccount = fromAccount;
return this;
}
public CustomC2cMsgBodyBuilder fromAccount(Long fromAccount) {
this.fromAccount = String.valueOf(fromAccount);
return this;
}
public CustomC2cMsgBodyBuilder toAccount(String toAccount) {
this.toAccount = toAccount;
return this;
}
public CustomC2cMsgBodyBuilder toAccount(Long toAccount) {
this.toAccount = String.valueOf(toAccount);
return this;
}
public CustomC2cMsgBodyBuilder desc(String desc) {
this.desc = desc;
return this;
}
public CustomC2cMsgBodyBuilder data(Object data) {
this.data = data;
return this;
}
public CustomC2cMsgBodyBuilder syncOtherMachine(Integer syncOtherMachine) {
this.syncOtherMachine = syncOtherMachine;
return this;
}
public CustomC2cMsgBodyCmd build() {
CustomC2cMsgBodyCmd cmd = new CustomC2cMsgBodyCmd();
cmd.setFromAccount(this.fromAccount);
cmd.setToAccount(this.toAccount);
cmd.setDesc(this.desc);
cmd.setData(this.data);
cmd.setSyncOtherMachine(this.syncOtherMachine);
return cmd;
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,9 @@ import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.order.inner.model.cmd.SysPayCountryAddCmd; 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.SysPayCountryChannelCmd;
import com.red.circle.order.inner.model.cmd.SysPayCountryChannelDetailsCmd; 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.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.dto.PayCountryDTO;
import com.red.circle.order.inner.model.dto.SysPayCountryChannelDTO; import com.red.circle.order.inner.model.dto.SysPayCountryChannelDTO;
import com.red.circle.order.inner.model.dto.SysPayCountryChannelDetailsDTO; import com.red.circle.order.inner.model.dto.SysPayCountryChannelDetailsDTO;
@ -88,6 +90,10 @@ public interface PayCountryClientApi {
@GetMapping("/shelf") @GetMapping("/shelf")
ResultResponse<Void> shelf(@RequestParam("id") Long id, @RequestParam("shelf") Boolean shelf); ResultResponse<Void> shelf(@RequestParam("id") Long id, @RequestParam("shelf") Boolean shelf);
@PostMapping("/syncCurrencyRates")
ResultResponse<PayCountryCurrencyRateSyncDTO> syncCurrencyRates(
@RequestBody SysPayCountryCurrencyRateSyncCmd cmd);
@GetMapping("/listPayCountryByRegionId") @GetMapping("/listPayCountryByRegionId")
ResultResponse<List<PayCountryDTO>> listPayCountryByRegionId( ResultResponse<List<PayCountryDTO>> listPayCountryByRegionId(
@RequestParam("regionId") String regionId); @RequestParam("regionId") String regionId);

View File

@ -7,6 +7,7 @@ import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.NotNull;
import java.io.Serial; import java.io.Serial;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
@ -46,6 +47,12 @@ public class SysPayApplicationCommodityCmd extends CommonCommand {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long payCountryId; private Long payCountryId;
/**
* 批量创建时的国家列表表结构仍是一条商品对应一个国家所以只在新增时拆成多条记录.
*/
@JsonSerialize(contentUsing = ToStringSerializer.class)
private List<Long> payCountryIds;
/** /**
* 区域ID. * 区域ID.
*/ */

View File

@ -0,0 +1,33 @@
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

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

View File

@ -0,0 +1,47 @@
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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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