Bläddra i källkod

fix: 更换用户服务协议、隐私保护模块

wenxingxing 11 timmar sedan
förälder
incheckning
9325490cdc
4 ändrade filer med 7 tillägg och 7 borttagningar
  1. 1 1
      pages/auth/login.vue
  2. 2 2
      pages/auth/loginIndex.vue
  3. 2 2
      pages/auth/register.vue
  4. 2 2
      utils/login.js

+ 1 - 1
pages/auth/login.vue

@@ -667,7 +667,7 @@ export default {
 			}
 		},
 		goToWeb(index) {
-			uni.setStorageSync('url', index == 0 ? 'https://userapp.his.cdwjyyh.com/web/userAgreement' : 'https://userapp.his.cdwjyyh.com/web/privacyPolicy');
+			uni.setStorageSync('url', index == 0 ? 'https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appUserAgreement' : 'https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appPrivacyAgreement');
 			uni.navigateTo({
 				url: '/pages/index/h5'
 			});

+ 2 - 2
pages/auth/loginIndex.vue

@@ -173,8 +173,8 @@
 				}
 			},
 			goToWeb(index) {
-				uni.setStorageSync('url', index == 0 ? "https://userapp.his.cdwjyyh.com/web/userAgreement" :
-					"https://userapp.his.cdwjyyh.com/web/privacyPolicy");
+				uni.setStorageSync('url', index == 0 ? "https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appUserAgreement" :
+					"https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appPrivacyAgreement");
 				uni.navigateTo({
 					url: "/pages/index/h5"
 				})

+ 2 - 2
pages/auth/register.vue

@@ -291,8 +291,8 @@
 				this.agree = !this.agree
 			},
 			goToWeb(index) {
-				uni.setStorageSync('url', index == 0 ? "https://userapp.his.cdwjyyh.com/web/userAgreement" :
-					"https://userapp.his.cdwjyyh.com/web/privacyPolicy");
+				uni.setStorageSync('url', index == 0 ? "https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appUserAgreement" :
+					"https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appPrivacyAgreement");
 				uni.navigateTo({
 					url: "/pages/index/h5"
 				})

+ 2 - 2
utils/login.js

@@ -209,11 +209,11 @@ export function showLoginPage(){
 						"suffix": "并使用本机号码登录", // 条款后的文案 默认值:“并使用本机号码登录”
 						"privacyItems": [  // 自定义协议条款,最大支持2个,需要同时设置url和title. 否则不生效
 							{
-								"url": "https://userapp.his.cdwjyyh.com/web/userAgreement", // 点击跳转的协议详情页面
+								"url": "https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appUserAgreement", // 点击跳转的协议详情页面
 								"title": "用户服务协议" // 协议名称
 							},
 							{
-								"url": "https://userapp.his.cdwjyyh.com/web/privacyPolicy", // 点击跳转的协议详情页面
+								"url": "https://userapp.klbycp.com/web/getAgreementConfig?appId=wxecdaff01852ca309&agreementType=appPrivacyAgreement", // 点击跳转的协议详情页面
 								"title": "隐私保护" // 协议名称
 							}
 						]