Browse Source

修改接口地址

master
管理员 6 years ago
parent
commit
6df7bb45d9
  1. 2
      public/index.html
  2. 2
      src/views/main-sidebar.vue

2
public/index.html

@ -33,7 +33,7 @@
<!-- 开发环境 --> <!-- 开发环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script> <script>
window.SITE_CONFIG['apiURL'] = 'https://epdc-api.elinkchina.com.cn' window.SITE_CONFIG['apiURL'] = 'http://219.146.91.110:9094/epdc-api'
</script> </script>
<% } %> <% } %>
<!-- 集成测试环境 --> <!-- 集成测试环境 -->

2
src/views/main-sidebar.vue

@ -91,7 +91,7 @@ export default {
}, },
connection () { connection () {
// //
this.socket = new SockJS('http://192.168.15.174:9094/epdc/ws/menuNoticeEndpoint')// 广httpWebSocketws this.socket = new SockJS('http://219.146.91.110:9094/epdc-api/ws/menuNoticeEndpoint')// 广httpWebSocketws
// STOMP // STOMP
this.stompClient = Stomp.over(this.socket) this.stompClient = Stomp.over(this.socket)

Loading…
Cancel
Save