Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
1c107856
Commit
1c107856
authored
Nov 23, 2018
by
RuoYi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/y_project/RuoYi
parents
4d2d5def
75f27dc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java
+0
-5
ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java
+1
-1
ruoyi-generator/src/main/resources/vm/html/list.html.vm
+5
-1
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/service/SysPasswordService.java
View file @
1c107856
...
...
@@ -82,9 +82,4 @@ public class SysPasswordService
return
new
Md5Hash
(
username
+
password
+
salt
).
toHex
().
toString
();
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
new
SysPasswordService
().
encryptPassword
(
"admin"
,
"admin123"
,
"111111"
));
System
.
out
.
println
(
new
SysPasswordService
().
encryptPassword
(
"ry"
,
"admin123"
,
"222222"
));
}
}
ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java
View file @
1c107856
...
...
@@ -145,7 +145,7 @@ public class GenUtils
if
(
template
.
contains
(
"ServiceImpl.java.vm"
))
{
return
javaPath
+
"service"
+
"/
"
+
"/
impl/"
+
className
+
"ServiceImpl.java"
;
return
javaPath
+
"service"
+
"/impl/"
+
className
+
"ServiceImpl.java"
;
}
if
(
template
.
contains
(
"Controller.java.vm"
))
...
...
ruoyi-generator/src/main/resources/vm/html/list.html.vm
View file @
1c107856
...
...
@@ -70,6 +70,11 @@
var
editFlag
=
[[
$
{@
permission
.
hasPermi
(
'${moduleName}:${classname}:edit'
)}]];
var
removeFlag
=
[[
$
{@
permission
.
hasPermi
(
'${moduleName}:${classname}:remove'
)}]];
var
prefix
=
ctx
+
"${moduleName}/${classname}"
;
#
foreach
(
$column
in
$columns
)
#
if
(
$
{
column
.
configInfo
}
&&
$
{
column
.
configInfo
.
type
}
==
'dict'
)
var
datas
=
[[
$
{@
dict
.
getType
(
'${column.configInfo.value}'
)}]];
#
end
#
end
$
(
function
()
{
var
options
=
{
...
...
@@ -98,7 +103,6 @@
title
:
'${column.columnComment}'
,
sortable
:
true
,
formatter
:
function
(
value
,
row
,
index
)
{
var
datas
=
[[
$
{@
dict
.
getType
(
'${column.configInfo.value}'
)}]];
return
$
.
table
.
selectDictLabel
(
datas
,
value
);
}
},
...
...
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