Browse Source

Merge branch '2025北京诚祥App' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥App

tanxue 4 days ago
parent
commit
3c0a36f09b
2 changed files with 3 additions and 1 deletions
  1. 1 0
      config.js
  2. 2 1
      pages/admin/Hetong/sanfangHetong.vue

+ 1 - 0
config.js

@@ -10,6 +10,7 @@ export default   {
   mianshiUrl: `https://ceshi.chengxiangjiaoyu.com/h5/room`, // 面试外链地址
   haibaoUrl: `https://ceshi.chengxiangjiaoyu.com/h5/share/haibao`, // 海报外链地址
   jianliUrl: `https://ceshi.chengxiangjiaoyu.com/h5/share/jianli`, // 建立外链地址
+  hetongType: 2, // 分享小程序 合同修改  0-正式版; 1-测试版; 2-体验版。 默认值为0。
   baseUrl: isPro?proUrl:devUrl,
   mapKey:isPro?proKey:devKey,
   // 应用信息

+ 2 - 1
pages/admin/Hetong/sanfangHetong.vue

@@ -123,6 +123,7 @@
 	import customTabbarAdminVue from "@/components/custom-tabbar/custom-tabbar-admin.vue";
 	import commonDialog from '@/components/dialog/commonDialog.vue';
 		import {toast} from "@/utils/common";
+		import config from "../../../config.js"
 	import {
 		getSanfangDelete
 	} from "../../../api/sanfang";
@@ -188,7 +189,7 @@
 		    miniProgram: {
 		        id: 'gh_fa5889151e7d',
 		        path: 'pages/Login/clientIndex?from=appcx&id='+data.id,
-		        type: 2, //暂时用体验版
+		        type: config.hetongType, //暂时用体验版  0-正式版; 1-测试版; 2-体验版。 默认值为0。
 		        webUrl: 'http://uniapp.dcloud.io'
 		    },
 		    success: ret => {