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}`);