Browse Source

语法错误

aleyds 3 years ago
parent
commit
5e464c9ad6
2 changed files with 4 additions and 4 deletions
  1. 2 2
      common/config.js
  2. 2 2
      utils/pushUtils.js

+ 2 - 2
common/config.js

@@ -1,5 +1,5 @@
-const host = 'https://wx.hw.hongweisoft.com/parking';//本地
-// const host = 'https://parking.pdzhtc.com';//正式
+// const host = 'https://wx.hw.hongweisoft.com/parking';//本地
+const host = 'https://parking.pdzhtc.com';//正式
 // const host = 'http://172.16.90.64:7000';
 const config = {
 	wxAppid:'wxbe90cc7c5233dd84',// wxAppid 

+ 2 - 2
utils/pushUtils.js

@@ -47,7 +47,7 @@ function deviceParkIn(content){
 		fail: (err) => {
 		}
 	})
-	if(content.speakMsg&&(speakDeviceParkIn==true||speakDeviceParkIn='')){
+	if(content.speakMsg&&(speakDeviceParkIn==true||speakDeviceParkIn=='')){
 		speaker.speakAction(content.speakMsg)
 	}
 	// const value = uni.getStorageSync('pushModel_switch');
@@ -82,7 +82,7 @@ function deviceParkOut(content){
 		fail: (err) => {
 		}
 	})
-	if(content.speakMsg&&(speakDeviceParkOut==true||speakDeviceParkOut='')){
+	if(content.speakMsg&&(speakDeviceParkOut==true||speakDeviceParkOut=='')){
 		speaker.speakAction(content.speakMsg)
 	}
 }