From c2732a05a65cc58a39bc0aac213475a19a09c164 Mon Sep 17 00:00:00 2001
From: lzhizhao <790086754@qq.com>
Date: Thu, 11 Sep 2025 09:28:17 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=97=A7=E8=B4=A6?=
=?UTF-8?q?=E5=8F=B7=E7=9A=84=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81=E9=80=BB?=
=?UTF-8?q?=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/modules/subaccount.js | 9 +++
.../permission/sub-operator/index.vue | 63 ++++++++++++++++---
2 files changed, 63 insertions(+), 9 deletions(-)
diff --git a/src/api/modules/subaccount.js b/src/api/modules/subaccount.js
index dd36919..b68d65b 100644
--- a/src/api/modules/subaccount.js
+++ b/src/api/modules/subaccount.js
@@ -50,3 +50,12 @@ export function checkUsername (username) {
params: { username }
})
}
+
+// 重置子账号密码
+export function resetPassword (subAccountId, newPassword) {
+ return httpRequest({
+ url: httpRequest.adornUrl(`/merchant-api/subaccount/${subAccountId}/reset-password`),
+ method: 'put',
+ data: httpRequest.adornData({ newPassword })
+ })
+}
diff --git a/src/views/modules/operation-management/permission/sub-operator/index.vue b/src/views/modules/operation-management/permission/sub-operator/index.vue
index 7357a79..60e10a7 100644
--- a/src/views/modules/operation-management/permission/sub-operator/index.vue
+++ b/src/views/modules/operation-management/permission/sub-operator/index.vue
@@ -35,6 +35,12 @@
>
+
+ 重置密码
+
+
+
+
@@ -63,17 +69,35 @@
保存
+
+
+
+
+
+
+
+
+