From f2e14fbd69737ca7717835fcc4e02c0f01de10d4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 02 二月 2026 10:12:42 +0800
Subject: [PATCH] fix: 修复扫码时code参数格式不一致导致的解析错误

---
 src/api/home/index.ts |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/api/home/index.ts b/src/api/home/index.ts
index de1a66a..cd165f1 100644
--- a/src/api/home/index.ts
+++ b/src/api/home/index.ts
@@ -2,6 +2,13 @@
 import { BaseResult } from "@/models/base";
 
 const HomeApi = {
+  getVersion(params: any) {
+    return request<BaseResult<any>>({
+      url: "/app/getNewestApk",
+      method: "GET",
+      data: params,
+    });
+  },
   getIndex() {
     return request<BaseResult<any>>({
       url: "/app/getIndex",

--
Gitblit v1.9.3