commit
This commit is contained in:
+1
-1
@@ -25,4 +25,4 @@ target/
|
|||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
|
|
||||||
src/main/resources/application.yaml
|
src/main/resources/application.yaml
|
||||||
src/main/resources/application-dev.yaml
|
src/main/resources/application.yaml
|
||||||
|
|||||||
@@ -58,8 +58,7 @@ const CLUB_MANAGER_TEMPLATE = {
|
|||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="scope.row.roleCode === 'CLUB_PRESIDENT'
|
:disabled="scope.row.roleCode === 'CLUB_PRESIDENT'"
|
||||||
|| scope.row.roleCode === 'CLUB_SECRETARY'""
|
|
||||||
@click="deleteRow(scope.row, scope.$index)"
|
@click="deleteRow(scope.row, scope.$index)"
|
||||||
size="mini" type="danger">删除
|
size="mini" type="danger">删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|||||||
@@ -83,8 +83,8 @@ public class JugTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void userPwd(){
|
public void userPwd(){
|
||||||
List<Sys_user> users = dao.query(Sys_user.class, Cnd.NEW());
|
List<Sys_user> users = dao.query(Sys_user.class, Cnd.where("loginname","in",List.of("safeadmin","safemember")));
|
||||||
String pwd = "1";
|
String pwd = "@Gonghui_jshvc1024";
|
||||||
for (Sys_user user : users) {
|
for (Sys_user user : users) {
|
||||||
user.setSalt(R.UU32());
|
user.setSalt(R.UU32());
|
||||||
user.setPassword(PwdUtil.getPassword(pwd, user.getSalt()));
|
user.setPassword(PwdUtil.getPassword(pwd, user.getSalt()));
|
||||||
|
|||||||
Reference in New Issue
Block a user