周立森 5 anos atrás
pai
commit
14ebec52b8
3 arquivos alterados com 8 adições e 6 exclusões
  1. 4
    4
      config/dev.js
  2. 1
    1
      project.config.json
  3. 3
    1
      src/pages/checkin/index.js

+ 4
- 4
config/dev.js Ver arquivo

@@ -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.72:8080"',
13
+    WSS_HOST: '"ws://192.168.0.72:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 1
- 1
project.config.json Ver arquivo

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "mini-chengjiao",
4 4
 	"description": "知与行联调",
5
-	"appid": "wxd9ee3a9480a4e544",
5
+	"appid": "wxda1f84b79b3edeb3",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 3
- 1
src/pages/checkin/index.js Ver arquivo

@@ -5,6 +5,7 @@ import { AtDivider, AtList, AtListItem, AtGrid, AtButton } from 'taro-ui'
5 5
 // import achievePhone from '@components/achievePhone'
6 6
 import { checkinDetails, checkinActive } from '@services/checkin'
7 7
 import { parseQueryString } from '@utils/tools'
8
+import { NONAME } from 'dns';
8 9
 
9 10
 export default class checkin extends Component {
10 11
 
@@ -48,7 +49,8 @@ export default class checkin extends Component {
48 49
 
49 50
     }).catch((err) => {
50 51
       Taro.showToast({
51
-        title: `失败: ${err.message}`
52
+        title: `失败: ${err.message}`,
53
+        icon: 'none'
52 54
       })
53 55
 
54 56
       console.error(err)