mirror of https://gitee.com/y_project/RuoYi.git
Merge branch 'master' of https://gitee.com/y_project/RuoYi
commit
1c1078565a
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue