This commit is contained in:
JyuHsin
2025-12-31 13:49:44 +08:00
parent d3ecdcf83e
commit 5a54425eec
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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()));