mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
release: v4.0.0
This commit is contained in:
@@ -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(), "新密码解密失败");
|
||||
|
Reference in New Issue
Block a user