From c775855ae8e84b83c07f28bc720d0fc049ec9140 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 22 Jan 2026 19:42:46 +0800
Subject: [PATCH] feat: zkxt api
---
applications/task-work-order/src/App.vue | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/applications/task-work-order/src/App.vue b/applications/task-work-order/src/App.vue
index f0ae601..50a0be4 100644
--- a/applications/task-work-order/src/App.vue
+++ b/applications/task-work-order/src/App.vue
@@ -3,7 +3,18 @@
</template>
<script setup>
+import { loginWithMiniProgramApi } from '@/api/zkxt'
+
+function getToken() {
+ loginWithMiniProgramApi({username: 'admin'}).then(res => {
+ console.log(res)
+ })
+}
+getToken()
+setInterval(() => {
+ getToken()
+}, 600000)
</script>
<style>
--
Gitblit v1.9.3