1. prod
This commit is contained in:
2026-02-05 17:05:39 +08:00
parent 909de11633
commit 8cf6ff1b2e
17 changed files with 678 additions and 85 deletions

View File

@@ -232,7 +232,7 @@ public interface IUserService extends BaseService<User> {
*/
boolean registerUser(User user);
boolean registerAppUser(User user);
boolean registerAppUser(User user,User invitor);
/**
* 配置用户平台
*

View File

@@ -451,7 +451,7 @@ public class UserServiceImpl extends BaseServiceImpl<UserMapper, User> implement
@Override
@Transactional(rollbackFor = Exception.class)
public boolean registerAppUser(User user) {
public boolean registerAppUser(User user, User invitor) {
Tenant tenant = SysCache.getTenant(user.getTenantId());
if (tenant == null || tenant.getId() == null) {
throw new OAuth2Exception("租户信息错误!");