diff --git a/app.js b/app.js
index 35e9810..0a42044 100644
--- a/app.js
+++ b/app.js
@@ -22,7 +22,7 @@ App({
unique_key: "wechatxcx"
}).then(res => {
let data = JSON.parse(res.data);
- data.isTest = data.isTest27?true:false;
+ data.isTest = data.isTest28?true:false;
this.globalData.configJson = data
})
diff --git a/pages/info/museumInfo/index.js b/pages/info/museumInfo/index.js
index d599b24..4e50403 100644
--- a/pages/info/museumInfo/index.js
+++ b/pages/info/museumInfo/index.js
@@ -420,6 +420,22 @@ Page({
}
},
+ order1: function () {
+ this.data.isGroup = 1
+ // 如果是团队预约的话 是需要判断是否需要审核的
+ commonApi.user_post("team_order/is_apply",{
+ id:this.data.id
+ }).then(res=>{
+ // 0 无需资质申请 1 需要资质申请跳转资质申请页面
+ if(res && res.data==1){
+ wx.navigateTo({
+ url: '/pages/group/apply/index?id='+this.data.id,
+ })
+ return;
+ }
+ this.realOrder()
+ })
+ },
realOrder:function(){
if (!this.data.info.product_venue) return;
if (!this.data.info.product_venue.sku[0]) return;
diff --git a/pages/info/museumInfo/index.wxml b/pages/info/museumInfo/index.wxml
index 940dd71..529faa3 100644
--- a/pages/info/museumInfo/index.wxml
+++ b/pages/info/museumInfo/index.wxml
@@ -62,7 +62,11 @@
wx:if="{{info.product_venue && info.product_venue.sku && info.product_venue.sku.length>0}}">
- 参观预约
+ 参观预约
+
+
+ 团体预约
+