周立森 il y a 5 ans
Parent
révision
de92999833
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 4
    4
      config/dev.js
  2. 1
    1
      src/pages/checkin/index.js

+ 4
- 4
config/dev.js Voir le fichier

@@ -5,12 +5,12 @@ module.exports = {
5 5
   defineConstants: {
6 6
     // HOST: '"http://47.101.36.130:8085"',//测试
7 7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    // HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
-    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
8
+    HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
+    WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10 10
     // HOST: '"https://lt.pawoma.cn"',
11 11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    HOST: '"http://192.168.0.238:8080"',
13
-    WSS_HOST: '"ws://192.168.0.238:8080"',
12
+    // HOST: '"http://192.168.0.218:8080"',
13
+    // WSS_HOST: '"ws://192.168.0.218:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 1
- 1
src/pages/checkin/index.js Voir le fichier

@@ -22,7 +22,7 @@ export default class checkin extends Component {
22 22
     // const id = router.query.paramsId
23 23
     // const type = router.query.type || ''
24 24
 
25
-    const { id = router.query.paramsId, type = router.query.type || '' } = parseQueryString(router.query.params)
25
+    const { id = router.query.id , type = router.query.type || '' } = parseQueryString(router.query.params)
26 26
     console.log(id, 'id-----')
27 27
     this.setState({ id, type })
28 28
     this.getcheckinDetails(id, type)