From 16b85effa56fb5c0701e433865878f67d650f347 Mon Sep 17 00:00:00 2001 From: XiuYun CHEN Date: Mon, 7 Jul 2025 09:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E4=BF=AE=E6=94=B9=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/basic/src/main/ets/constants/BasicConstant.ets | 2 +- products/expert/src/main/ets/pages/MinePage/SettingPage.ets | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons/basic/src/main/ets/constants/BasicConstant.ets b/commons/basic/src/main/ets/constants/BasicConstant.ets index e029a58..ee7fbb1 100644 --- a/commons/basic/src/main/ets/constants/BasicConstant.ets +++ b/commons/basic/src/main/ets/constants/BasicConstant.ets @@ -3,7 +3,7 @@ export class BasicConstant { static readonly SPACE_MD = 10 static readonly SPACE_LG = 0 static readonly getyyzc="https://doc.igandan.com/app/integral/permission_hmos_expert.html";//隐私政策 - static readonly getzcxy = "http://app.igandan.com/expert_zcxy.jsp";// 注册协议正式地址 + static readonly getzcxy = "https://doc.igandan.com/app/integral/hmos_expert_zcxy.html";// 注册协议正式地址 //测试环境 // static readonly urlExpertAPI = "https://dev-app.igandan.com/app/expertAPI/"; diff --git a/products/expert/src/main/ets/pages/MinePage/SettingPage.ets b/products/expert/src/main/ets/pages/MinePage/SettingPage.ets index b7d9e10..9cb4b7d 100644 --- a/products/expert/src/main/ets/pages/MinePage/SettingPage.ets +++ b/products/expert/src/main/ets/pages/MinePage/SettingPage.ets @@ -1,4 +1,4 @@ -import { authStore, HdNav , preferenceStore} from '@itcast/basic'; +import { authStore, BasicConstant, HdNav , preferenceStore} from '@itcast/basic'; import { bundleManager, common, ConfigurationConstant, Want } from '@kit.AbilityKit'; import { fileIo, storageStatistics } from '@kit.CoreFileKit'; import { promptAction, router } from '@kit.ArkUI'; @@ -153,7 +153,7 @@ struct SettingPage { try { router.pushUrl({ url: 'pages/WebView/WebPage', - params: { url: 'http://app.igandan.com/expert_zcxy.jsp' ,title:'注册协议'} + params: { url: BasicConstant.getzcxy ,title:'注册协议'} }, router.RouterMode.Standard); } catch (err) { console.error(`跳转失败: ${err.code}, ${err.message}`); @@ -162,7 +162,7 @@ struct SettingPage { try { router.pushUrl({ url: 'pages/WebView/WebPage', - params: { url: 'https://doc.igandan.com/app/integral/permission_expert.html' ,title:'隐私政策'} + params: { url: BasicConstant.getyyzc ,title:'隐私政策'} }, router.RouterMode.Standard); } catch (err) { console.error(`跳转失败: ${err.code}, ${err.message}`);