修复加载i18n问题

This commit is contained in:
六如
2025-02-20 10:55:13 +08:00
parent bb132abe28
commit 09eef2f049

View File

@@ -48,7 +48,7 @@ public class ApiRegisterServiceImpl implements ApiRegisterService {
CopyUtil.copyPropertiesIgnoreNull(apiInfoDTO, apiInfo);
apiInfo.setRegSource(REG_SOURCE_SYS);
// 保存到数据库
apiInfoMapper.saveOrUpdate(apiInfo);
apiInfoMapper.saveOrUpdateIgnoreNull(apiInfo);
apiInfoDTO.setId(apiInfo.getId());
// 保存到缓存
apiManager.save(apiInfoDTO);