release: v4.0.0

This commit is contained in:
2025-07-27 15:42:24 +08:00
parent 600f4477c8
commit 035d37ae2d
6 changed files with 69 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ public class TenantController extends BaseController<TenantService, TenantResp,
@Operation(summary = "修改租户管理员密码", description = "修改租户管理员密码")
@SaCheckPermission("tenant:management:updateAdminUserPwd")
@PutMapping("/{id}/admin/pwd")
public void updateAdminUserPwd(@Valid @RequestBody TenantAdminUserPwdUpdateReq req, @PathVariable Long id) {
public void updateAdminUserPwd(@RequestBody @Valid TenantAdminUserPwdUpdateReq req, @PathVariable Long id) {
TenantDO tenant = baseService.getById(id);
TenantUtils.execute(id, () -> {
String password = SecureUtils.decryptPasswordByRsaPrivateKey(req.getPassword(), "新密码解密失败");