Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
d224a240
Commit
d224a240
authored
May 16, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化部分代码
parent
2f3e2678
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/main/java/com/stylefeng/guns/core/shiro/factory/ShiroFactroy.java
+2
-0
src/main/java/com/stylefeng/guns/modular/system/dao/mapping/UserMgrDao.xml
+2
-2
No files found.
src/main/java/com/stylefeng/guns/core/shiro/factory/ShiroFactroy.java
View file @
d224a240
...
...
@@ -38,7 +38,9 @@ public class ShiroFactroy implements IShiro {
@Override
public
User
user
(
String
account
)
{
User
user
=
userMgrDao
.
getByAccount
(
account
);
// 账号不存在
if
(
null
==
user
)
{
throw
new
CredentialsException
();
...
...
src/main/java/com/stylefeng/guns/modular/system/dao/mapping/UserMgrDao.xml
View file @
d224a240
...
...
@@ -3,14 +3,14 @@
<mapper
namespace=
"com.stylefeng.guns.modular.system.dao.UserMgrDao"
>
<sql
id=
"Base_Column_List"
>
id, account, name, birthday, sex, email,avatar,
id, account, name, birthday, sex, email,
avatar,
phone, roleid,
deptid, status,
createtime, version
</sql>
<sql
id=
"Base_Column_List_With_Pwd"
>
id, account, name, birthday,password, sex, email,avatar,
id, account, name, birthday,password, sex, email,
avatar,
phone, roleid,salt,
deptid, status,
createtime, version
...
...
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