林凡 5 年之前
父節點
當前提交
69d3908ca6
共有 3 個檔案被更改,包括 8 行新增34 行删除
  1. 0
    9
      config/dev.js
  2. 0
    9
      config/prod.js
  3. 8
    16
      src/pages/project/h5Page.js

+ 0
- 9
config/dev.js 查看文件

5
   defineConstants: {
5
   defineConstants: {
6
     // HOST: '"http://47.101.36.130:8085"',//测试
6
     // HOST: '"http://47.101.36.130:8085"',//测试
7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    HOST: '"https://dev.jinchengjiaye.com"',//测试
9
-    WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10
-    // HOST: '"https://lt.pawoma.cn"',
11
-    // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-<<<<<<< HEAD
13
     HOST: '"http://192.168.2.52:8080"',
8
     HOST: '"http://192.168.2.52:8080"',
14
     WSS_HOST: '"ws://192.168.2.52:8080"',
9
     WSS_HOST: '"ws://192.168.2.52:8080"',
15
     Version:'V3.5.2.2_1210'
10
     Version:'V3.5.2.2_1210'
16
-=======
17
-    // HOST: '"http://192.168.2.52:8080"',
18
-    // WSS_HOST: '"ws://192.168.2.52:8080"',
19
->>>>>>> 7a04f681842a549f9f6b650f1bf35926f30961d7
20
   },
11
   },
21
   weapp: {},
12
   weapp: {},
22
   h5: {}
13
   h5: {}

+ 0
- 9
config/prod.js 查看文件

5
   defineConstants: {
5
   defineConstants: {
6
     // HOST: '"http://192.168.0.218:8080"',
6
     // HOST: '"http://192.168.0.218:8080"',
7
     // WSS_HOST: '"ws://192.168.0.218:8080"',
7
     // WSS_HOST: '"ws://192.168.0.218:8080"',
8
-<<<<<<< HEAD
9
-    // HOST: '"https://dev.jinchengjiaye.com"',
10
-    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
11
     HOST: '"https://lt.pawoma.cn"',
8
     HOST: '"https://lt.pawoma.cn"',
12
     WSS_HOST: '"wss://lt.pawoma.cn"',
9
     WSS_HOST: '"wss://lt.pawoma.cn"',
13
     Version:'V3.5.2.2_1210'
10
     Version:'V3.5.2.2_1210'
14
-=======
15
-    HOST: '"https://dev.jinchengjiaye.com"',
16
-    WSS_HOST: '"wss://dev.jinchengjiaye.com"',
17
-    // HOST: '"https://lt.pawoma.cn"',
18
-    // WSS_HOST: '"wss://lt.pawoma.cn"',
19
->>>>>>> 7a04f681842a549f9f6b650f1bf35926f30961d7
20
   },
11
   },
21
   weapp: {},
12
   weapp: {},
22
   h5: {}
13
   h5: {}

+ 8
- 16
src/pages/project/h5Page.js 查看文件

108
           console.log(res, "解析二维码返回值")
108
           console.log(res, "解析二维码返回值")
109
         })
109
         })
110
       }
110
       }
111
-<<<<<<< HEAD
112
-      // h5id 、第一个分享人ID、置业顾问ID、分享人ID
113
-      getHFiveDetail(this.$router.params.id).then(res => {
111
+
112
+      console.log(this.$router, "this.$router")
113
+      const router = Taro.getStorageSync('router')
114
+      console.log(router, "router")
115
+      const hFiveId = this.$router.params.id || router.query.id || ""
116
+      console.log(hFiveId, "hFiveId")
117
+      // h5id 、第一个分享人ID、置业顾问ID、分享人ID 
118
+      getHFiveDetail(hFiveId).then(res => {
114
         if(res.status==1){
119
         if(res.status==1){
115
           this.setState({
120
           this.setState({
116
             pageInfo: res
121
             pageInfo: res
126
             })
131
             })
127
           })
132
           })
128
         }
133
         }
129
-=======
130
-      console.log(this.$router, "this.$router")
131
-      const router = Taro.getStorageSync('router')
132
-      console.log(router, "router")
133
-      const hFiveId = this.$router.params.id || router.query.id || ""
134
-      console.log(hFiveId, "hFiveId")
135
-      // h5id 、第一个分享人ID、置业顾问ID、分享人ID 
136
-      getHFiveDetail(hFiveId).then(res => {
137
-        // debugger
138
-        this.setState({
139
-          pageInfo: res
140
-        })
141
->>>>>>> 7a04f681842a549f9f6b650f1bf35926f30961d7
142
       })
134
       })
143
       const { userInfo: { person: { avatarurl, phone } } } = this.props
135
       const { userInfo: { person: { avatarurl, phone } } } = this.props
144
       console.log(this.props, "this.propsthis.propsthis.props")
136
       console.log(this.props, "this.propsthis.propsthis.props")