国际化服务 · coinex-i18n

职责与定位

提供语言、国家及国际化文本相关接口。

属性 内容
源码目录 coinex-i18n
分类 用户、商户与平台接入
工程角色 业务或支撑服务工程
构建入口 coinex-i18n/pom.xml

已核对的源码入口

类或接口 源码路径
CountryService coinex-i18n/i18n-api/src/main/java/com/exch/i18n/service/CountryService.java
I18nService coinex-i18n/i18n-api/src/main/java/com/exch/i18n/service/I18nService.java
SystemLanService coinex-i18n/i18n-api/src/main/java/com/exch/i18n/service/SystemLanService.java
CountryServiceImpl coinex-i18n/i18n-provider/src/main/java/com/exch/i18n/service/CountryServiceImpl.java
I18nServiceImpl coinex-i18n/i18n-provider/src/main/java/com/exch/i18n/service/I18nServiceImpl.java
SystemLanServiceImpl coinex-i18n/i18n-provider/src/main/java/com/exch/i18n/service/SystemLanServiceImpl.java

接口摘录

以下签名来自接口声明,用于定位能力;接口声明不等于实现和线上调用已验证。

CountryService

List<Country> selectAllList(Country country);
List<Country> selectList(String chinese);
Country selectCountryByChinese(String chinese);
Country selectByEnglish(String english);

I18nService

I18n selectByPrimaryKey(Long id);
PageResult<I18n> selectAllList(I18n i18n, Integer pageNum, Integer pageSize);
List<I18n> selectByCode(I18n i18n);
List selectListByLan(String system, String lan);

SystemLanService

SystemLan selectByPrimaryKey(Long id);
List<SystemLan> selectLanguageList(SystemLan language);
List<SystemLan> selectLanguageListByStatus(SystemLan language);
boolean updateStatus(SystemLan language);

启动入口线索

  • coinex-i18n/i18n-provider/src/main/java/com/exch/i18n/provider/I18nApp.java

仅列出已发现的 main 入口,部署数量与启用参数需对照目标环境确认。

核心流程核对

核对语言标识、翻译键、回退规则与消费者。

边界与验证

本页核对了工程结构、所列文件与部分公开接口;未验证完整调用链、生产启用状态或运行结果。

选择一条实际业务请求,记录入口、下游调用、数据变化和错误结果;覆盖无权限、重复请求、下游超时及重启恢复。涉及金额时额外核对精度、冻结、流水和幂等。

返回用户、商户与平台接入或全部工程与服务。