add 新增 通用翻译模块 ruoyi-common-translation 实现(部门名、字典、oss、用户名)

This commit is contained in:
疯狂的狮子li
2023-02-05 13:22:39 +08:00
parent 5a7d39a53b
commit e039986248
30 changed files with 599 additions and 15 deletions

View File

@@ -17,4 +17,13 @@ public interface RemoteFileService {
* @return 结果
*/
SysFile upload(String name, String originalFilename, String contentType, byte[] file) throws ServiceException;
/**
* 通过ossId查询对应的url
*
* @param ossIds ossId串逗号分隔
* @return url串逗号分隔
*/
String selectUrlByIds(String ossIds);
}

View File

@@ -0,0 +1,18 @@
package com.ruoyi.system.api;
/**
* 部门服务
*
* @author Lion Li
*/
public interface RemoteDeptService {
/**
* 通过部门ID查询部门名称
*
* @param deptIds 部门ID串逗号分隔
* @return 部门名称串逗号分隔
*/
String selectDeptNameByIds(String deptIds);
}

View File

@@ -44,4 +44,11 @@ public interface RemoteUserService {
*/
Boolean registerUserInfo(SysUser sysUser);
/**
* 通过userId查询用户账户
*
* @param userId 用户id
* @return 结果
*/
String selectUserNameById(Long userId);
}