From 1b9aa9b5e93a5967cf4694c23c34b18e673b88ff Mon Sep 17 00:00:00 2001 From: Lemon Date: Fri, 5 Jul 2024 11:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AE=A1=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E9=A1=B5=E9=9D=A2=E6=96=B0=E5=A2=9E=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=A1=A9=E5=8A=A8=E6=80=81=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/api/pile/basic.js | 7 +++ .../src/views/system/user/profile/index.vue | 53 ++++++++++++++++++- 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/jsowell-ui/src/api/pile/basic.js b/jsowell-ui/src/api/pile/basic.js index 137b9e0ff..f5c2139dc 100644 --- a/jsowell-ui/src/api/pile/basic.js +++ b/jsowell-ui/src/api/pile/basic.js @@ -122,3 +122,10 @@ export function getPersonalPileList(data) { data: data }) } + +export function generatePileSecret() { + return request({ + url: '/pile/basic/getPileSecretStr', + method: 'get' + }) +} diff --git a/jsowell-ui/src/views/system/user/profile/index.vue b/jsowell-ui/src/views/system/user/profile/index.vue index 5d6872ecc..0aedd67a8 100644 --- a/jsowell-ui/src/views/system/user/profile/index.vue +++ b/jsowell-ui/src/views/system/user/profile/index.vue @@ -55,7 +55,39 @@ - + + + + +
+ 桩动态密码 +
+ 点击生成动态密码 +
+
+
+
+
    +
  • + 当前日期 +
    {{ nowDate }}
    +
  • +
+
    +
  • + 动态密码 +
    {{ pileSecret }}
    +
  • +
+
+
+
+
+
+ + +