From 31f01852ada56433f071ce10fe280fc4c8306dfc Mon Sep 17 00:00:00 2001 From: Seven Date: Wed, 14 Jan 2026 23:51:58 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B3=200.0.2=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E9=97=AE=E9=A2=98=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BA=86=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/api/version.ts | 7 +++---- package.json | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/functions/api/version.ts b/functions/api/version.ts index 51de42d..1348f2e 100644 --- a/functions/api/version.ts +++ b/functions/api/version.ts @@ -24,21 +24,21 @@ interface VersionConfig { // 版本配置 - 直接在这里管理版本信息 const versionConfig: VersionConfig = { ios: { - version: "0.0.1", + version: "0.0.2", forceUpdate: false, updateMessage: "修复了一些问题并优化了性能", updateUrl: "https://apps.apple.com/app/id123456789", minSupportVersion: "0.0.1", }, android: { - version: "0.0.1", + version: "0.0.2", forceUpdate: false, updateMessage: "修复了一些问题并优化了性能", updateUrl: "https://play.google.com/store/apps/details?id=riwa.ionic.app", minSupportVersion: "0.0.1", }, browser: { - version: "0.0.1", + version: "0.0.2", forceUpdate: false, updateMessage: "修复了一些问题并优化了性能", updateUrl: "", @@ -50,7 +50,6 @@ export const onRequestGet: PagesFunction = async (context) => { try { const { searchParams } = new URL(context.request.url); const platform = searchParams.get("platform") || "browser"; - const currentVersion = searchParams.get("currentVersion") || "0.0.1"; // 验证平台参数 if (!["ios", "android", "browser"].includes(platform)) { diff --git a/package.json b/package.json index 3363cb3..13dec12 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "riwa-ionic", "type": "module", - "version": "0.0.1", + "version": "0.0.2", "private": true, "description": "An Ionic project", "scripts": {