mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 09:35:29 +08:00
ruoyi-admin位置移动
This commit is contained in:
parent
83a066476f
commit
69a1bdcb2b
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>ruoyi-api-bom</module>
|
<module>ruoyi-api-bom</module>
|
||||||
<module>ruoyi-api-system</module>
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<artifactId>ruoyi-api</artifactId>
|
<artifactId>ruoyi-api</artifactId>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<!-- 系统接口 -->
|
<!-- 系统接口 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.dromara</groupId>
|
<groupId>org.dromara</groupId>
|
||||||
<artifactId>ruoyi-api-system</artifactId>
|
<artifactId>ruoyi-md-system-api</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
<!-- <module>ruoyi-demo</module>-->
|
<!-- <module>ruoyi-demo</module>-->
|
||||||
<module>ruoyi-generator</module>
|
<module>ruoyi-generator</module>
|
||||||
<module>ruoyi-job</module>
|
<module>ruoyi-job</module>
|
||||||
<module>ruoyi-system</module>
|
<module>ruoyi-md-system</module>
|
||||||
<module>ruoyi-system-saas</module>
|
<module>ruoyi-system-saas</module>
|
||||||
<module>ruoyi-workflow</module>
|
<module>ruoyi-workflow</module>
|
||||||
<module>ruoyi-md-form</module>
|
<module>ruoyi-md-form</module>
|
||||||
|
|||||||
23
ruoyi-modules/ruoyi-md-system/pom.xml
Normal file
23
ruoyi-modules/ruoyi-md-system/pom.xml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<groupId>org.dromara</groupId>
|
||||||
|
<artifactId>ruoyi-modules</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<artifactId>ruoyi-md-system</artifactId>
|
||||||
|
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<description>
|
||||||
|
系统模块
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module>ruoyi-md-system-api</module>
|
||||||
|
<module>ruoyi-md-system-service</module>
|
||||||
|
</modules>
|
||||||
|
</project>
|
||||||
@ -1,30 +1,30 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.dromara</groupId>
|
<groupId>org.dromara</groupId>
|
||||||
<artifactId>ruoyi-api</artifactId>
|
<artifactId>ruoyi-md-system</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-api-system</artifactId>
|
<artifactId>ruoyi-md-system-api</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
ruoyi-api-system系统接口模块 TODO 记得改名 ruoyi-api-system-saas
|
ruoyi-api-system系统接口模块
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- RuoYi Common Core-->
|
<!-- RuoYi Common Core-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.dromara</groupId>
|
<groupId>org.dromara</groupId>
|
||||||
<artifactId>ruoyi-common-core</artifactId>
|
<artifactId>ruoyi-common-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@ -1,134 +1,134 @@
|
|||||||
package org.dromara.system.api;
|
package org.dromara.system.api;
|
||||||
|
|
||||||
import org.dromara.common.core.exception.ServiceException;
|
import org.dromara.common.core.exception.ServiceException;
|
||||||
import org.dromara.common.core.exception.user.UserException;
|
import org.dromara.common.core.exception.user.UserException;
|
||||||
import org.dromara.system.api.domain.bo.RemoteUserBo;
|
import org.dromara.system.api.domain.bo.RemoteUserBo;
|
||||||
import org.dromara.system.api.domain.vo.RemoteUserVo;
|
import org.dromara.system.api.domain.vo.RemoteUserVo;
|
||||||
import org.dromara.system.api.model.LoginUser;
|
import org.dromara.system.api.model.LoginUser;
|
||||||
import org.dromara.system.api.model.XcxLoginUser;
|
import org.dromara.system.api.model.XcxLoginUser;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户服务
|
* 用户服务
|
||||||
*
|
*
|
||||||
* @author Lion Li
|
* @author Lion Li
|
||||||
*/
|
*/
|
||||||
public interface RemoteUserService {
|
public interface RemoteUserService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户名查询用户信息
|
* 通过用户名查询用户信息
|
||||||
*
|
*
|
||||||
* @param username 用户名
|
* @param username 用户名
|
||||||
* @param tenantId 租户id
|
* @param tenantId 租户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
LoginUser getUserInfo(String username, String tenantId) throws UserException;
|
LoginUser getUserInfo(String username, String tenantId) throws UserException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户id查询用户信息
|
* 通过用户id查询用户信息
|
||||||
*
|
*
|
||||||
* @param userId 用户id
|
* @param userId 用户id
|
||||||
* @param tenantId 租户id
|
* @param tenantId 租户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
LoginUser getUserInfo(Long userId, String tenantId) throws UserException;
|
LoginUser getUserInfo(Long userId, String tenantId) throws UserException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过手机号查询用户信息
|
* 通过手机号查询用户信息
|
||||||
*
|
*
|
||||||
* @param phonenumber 手机号
|
* @param phonenumber 手机号
|
||||||
* @param tenantId 租户id
|
* @param tenantId 租户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
LoginUser getUserInfoByPhonenumber(String phonenumber, String tenantId) throws UserException;
|
LoginUser getUserInfoByPhonenumber(String phonenumber, String tenantId) throws UserException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过邮箱查询用户信息
|
* 通过邮箱查询用户信息
|
||||||
*
|
*
|
||||||
* @param email 邮箱
|
* @param email 邮箱
|
||||||
* @param tenantId 租户id
|
* @param tenantId 租户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
LoginUser getUserInfoByEmail(String email, String tenantId) throws UserException;
|
LoginUser getUserInfoByEmail(String email, String tenantId) throws UserException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过openid查询用户信息
|
* 通过openid查询用户信息
|
||||||
*
|
*
|
||||||
* @param openid openid
|
* @param openid openid
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
XcxLoginUser getUserInfoByOpenid(String openid) throws UserException;
|
XcxLoginUser getUserInfoByOpenid(String openid) throws UserException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 注册用户信息
|
* 注册用户信息
|
||||||
*
|
*
|
||||||
* @param remoteUserBo 用户信息
|
* @param remoteUserBo 用户信息
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
Boolean registerUserInfo(RemoteUserBo remoteUserBo) throws UserException, ServiceException;
|
Boolean registerUserInfo(RemoteUserBo remoteUserBo) throws UserException, ServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过userId查询用户账户
|
* 通过userId查询用户账户
|
||||||
*
|
*
|
||||||
* @param userId 用户id
|
* @param userId 用户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
String selectUserNameById(Long userId);
|
String selectUserNameById(Long userId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户ID查询用户昵称
|
* 通过用户ID查询用户昵称
|
||||||
*
|
*
|
||||||
* @param userId 用户id
|
* @param userId 用户id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
String selectNicknameById(Long userId);
|
String selectNicknameById(Long userId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户ID查询用户账户
|
* 通过用户ID查询用户账户
|
||||||
*
|
*
|
||||||
* @param userIds 用户ID 多个用逗号隔开
|
* @param userIds 用户ID 多个用逗号隔开
|
||||||
* @return 用户名称
|
* @return 用户名称
|
||||||
*/
|
*/
|
||||||
String selectNicknameByIds(String userIds);
|
String selectNicknameByIds(String userIds);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户ID查询用户手机号
|
* 通过用户ID查询用户手机号
|
||||||
*
|
*
|
||||||
* @param userId 用户id
|
* @param userId 用户id
|
||||||
* @return 用户手机号
|
* @return 用户手机号
|
||||||
*/
|
*/
|
||||||
String selectPhonenumberById(Long userId);
|
String selectPhonenumberById(Long userId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户ID查询用户邮箱
|
* 通过用户ID查询用户邮箱
|
||||||
*
|
*
|
||||||
* @param userId 用户id
|
* @param userId 用户id
|
||||||
* @return 用户邮箱
|
* @return 用户邮箱
|
||||||
*/
|
*/
|
||||||
String selectEmailById(Long userId);
|
String selectEmailById(Long userId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新用户信息
|
* 更新用户信息
|
||||||
*
|
*
|
||||||
* @param userId 用户ID
|
* @param userId 用户ID
|
||||||
* @param ip IP地址
|
* @param ip IP地址
|
||||||
*/
|
*/
|
||||||
void recordLoginInfo(Long userId, String ip);
|
void recordLoginInfo(Long userId, String ip);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过用户ID查询用户列表
|
* 通过用户ID查询用户列表
|
||||||
*
|
*
|
||||||
* @param userIds 用户ids
|
* @param userIds 用户ids
|
||||||
* @return 用户列表
|
* @return 用户列表
|
||||||
*/
|
*/
|
||||||
List<RemoteUserVo> selectListByIds(List<Long> userIds);
|
List<RemoteUserVo> selectListByIds(List<Long> userIds);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过角色ID查询用户ID
|
* 通过角色ID查询用户ID
|
||||||
*
|
*
|
||||||
* @param roleIds 角色ids
|
* @param roleIds 角色ids
|
||||||
* @return 用户ids
|
* @return 用户ids
|
||||||
*/
|
*/
|
||||||
List<Long> selectUserIdsByRoleIds(List<Long> roleIds);
|
List<Long> selectUserIdsByRoleIds(List<Long> roleIds);
|
||||||
}
|
}
|
||||||
@ -4,12 +4,12 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.dromara</groupId>
|
<groupId>org.dromara</groupId>
|
||||||
<artifactId>ruoyi-modules</artifactId>
|
<artifactId>ruoyi-md-system</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>ruoyi-system</artifactId>
|
<artifactId>ruoyi-md-system-service</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
system系统模块
|
system系统模块
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user