周立森 5 年之前
父節點
當前提交
14ebec52b8
共有 3 個檔案被更改,包括 8 行新增6 行删除
  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 查看文件

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"',
8
+    // HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
+    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10
     // HOST: '"https://lt.pawoma.cn"',
10
     // HOST: '"https://lt.pawoma.cn"',
11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
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
   weapp: {},
15
   weapp: {},
16
   h5: {}
16
   h5: {}

+ 1
- 1
project.config.json 查看文件

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

+ 3
- 1
src/pages/checkin/index.js 查看文件

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