cc12458 4 mesiacov pred
rodič
commit
63946befca
4 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  1. 1 1
      App.vue
  2. 1 1
      pages/edit/edit.vue
  3. 1 1
      pages/review/review.vue
  4. 2 2
      static/js/request.js

+ 1 - 1
App.vue

@@ -33,7 +33,7 @@ onShow(()=>{
 	uni.$on('login',(data)=>{
 		try {
 			//建立生产环境socket连接
-				websocket.connectSocket(`ws://8.139.252.178:8001/yfc-mobile/websocket/${data.userId}`,() => {
+				websocket.connectSocket(`ws://wx.hzliuzhi.com:4433/manager/yfc-mobile/websocket/${data.userId}`,() => {
 				//如果连接成功则发送心跳检测
 				console.log('connect ws success')
 				heartBeatTest()

+ 1 - 1
pages/edit/edit.vue

@@ -212,7 +212,7 @@ const printInfo = ref({
 // 阜南地址
 // const urlConfig = ref('http://124.112.64.166:2020')
 //重药代煎中心
-const urlConfig = ref('http://8.139.252.178:8001/prod-api/yfc-admin')
+const urlConfig = ref('https://wx.hzliuzhi.com:4433/manager/yfc-admin')
 // #ifdef APP-PLUS 
 const plug= uni.requireNativePlugin('Html5app-Gprinter');
 // #endif

+ 1 - 1
pages/review/review.vue

@@ -160,7 +160,7 @@ import debounce from 'lodash.debounce'
 // 阜南地址
 // const urlConfig = ref('http://124.112.64.166:2020')
 //重药代煎中心
-const urlConfig = ref('http://8.139.252.178:8001/prod-api/yfc-admin')
+const urlConfig = ref('http://https://wx.hzliuzhi.com:4433/manager/yfc-admin')
 
 const preseObj = ref({
 		code: '',

+ 2 - 2
static/js/request.js

@@ -11,8 +11,8 @@
 // var hostUrl = "http://124.112.64.166:2020"
 // var hostUrl2 ='http://124.112.64.166:8006'
 //重药代煎中心
-var hostUrl = "http://8.139.252.178:8001/prod-api/yfc-admin"
-var hostUrl2 ="http://8.139.252.178:8001/prod-api/yfc-mobile"
+var hostUrl = "https://wx.hzliuzhi.com:4433/manager/yfc-admin"
+var hostUrl2 ="https://wx.hzliuzhi.com:4433/manager/yfc-mobile"
 
 // var hostUrl = "http://zy-web.fscuc.cn"
 export const service = (params = {}) => {