Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
d94dfb44
Commit
d94dfb44
authored
Sep 07, 2023
by
施翔轲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
启用新增租户时发短信
parent
827943de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
17 deletions
+3
-17
ISysTenantPackageServiceImpl.java
...dsk/system/service/impl/ISysTenantPackageServiceImpl.java
+0
-3
ISysTenantServiceImpl.java
...va/com/dsk/system/service/impl/ISysTenantServiceImpl.java
+3
-14
No files found.
dsk-system/src/main/java/com/dsk/system/service/impl/ISysTenantPackageServiceImpl.java
View file @
d94dfb44
...
...
@@ -22,7 +22,6 @@ import lombok.RequiredArgsConstructor;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
...
...
@@ -36,9 +35,7 @@ import java.util.Map;
@Service
public
class
ISysTenantPackageServiceImpl
implements
ISysTenantPackageService
{
@Resource
private
final
SysTenantPackageMapper
baseMapper
;
@Resource
private
final
SysTenantMapper
tenantMapper
;
/**
...
...
dsk-system/src/main/java/com/dsk/system/service/impl/ISysTenantServiceImpl.java
View file @
d94dfb44
...
...
@@ -16,6 +16,7 @@ import com.dsk.common.core.domain.entity.SysDictData;
import
com.dsk.common.core.domain.entity.SysDictType
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.exception.ServiceException
;
import
com.dsk.common.utils.DingTalkUtil
;
import
com.dsk.common.utils.PasswordUtils
;
import
com.dsk.common.utils.StringUtils
;
import
com.dsk.system.domain.*
;
...
...
@@ -29,7 +30,6 @@ import org.springframework.cache.annotation.Cacheable;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.List
;
...
...
@@ -43,27 +43,17 @@ import java.util.List;
@RequiredArgsConstructor
@Service
public
class
ISysTenantServiceImpl
implements
ISysTenantService
{
@Resource
private
final
SysTenantMapper
baseMapper
;
@Resource
private
final
SysTenantPackageMapper
tenantPackageMapper
;
@Resource
private
final
SysRoleMapper
roleMapper
;
@Resource
private
final
SysRoleMenuMapper
roleMenuMapper
;
@Resource
private
final
SysDeptMapper
deptMapper
;
@Resource
private
final
SysRoleDeptMapper
roleDeptMapper
;
@Resource
private
final
SysUserMapper
userMapper
;
@Resource
private
final
SysUserRoleMapper
userRoleMapper
;
@Resource
private
final
SysDictTypeMapper
dictTypeMapper
;
@Resource
private
final
SysDictDataMapper
dictDataMapper
;
@Resource
private
final
SysConfigMapper
configMapper
;
/**
...
...
@@ -233,8 +223,7 @@ public class ISysTenantServiceImpl implements ISysTenantService {
+
"您好,您已经成功注册央企数字经营管理系统,请使用手机号码登录,初始密码为"
+
password
+
"。友情提示:为了您的账号安全,请勿泄露密码。若需要修改密码,请联系管理员。"
;
//DingTalkUtil.sendDingTalkMsg(content);
System
.
out
.
println
(
"👉🏻:"
+
content
);
DingTalkUtil
.
sendDingTalkMsg
(
content
);
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment