Browse Source

发布地址修改

master
xuhuajiao 1 year ago
parent
commit
47672f6193
  1. 3
      library-activity/app.config.js
  2. 10
      library-activity/index.html
  3. 3
      library-activity/src/main.js
  4. 2
      library-activity/src/router/index.js
  5. 2
      library-activity/vite.config.js
  6. 8
      selfServiceMachine/.env.development
  7. 4
      selfServiceMachine/.env.production
  8. 6
      selfServiceMachine/src/main.js
  9. 2
      selfServiceMachine/src/views/onlineBookSelection.vue

3
library-activity/app.config.js

@ -7,7 +7,8 @@
'url': "http://192.168.99.67:8080/frontDemoApi",
},
prodProxy: {
'url': 'https://rosefinchapi.aiyxlib.com/frontDemoApi'
// 'url': 'https://rosefinchapi.aiyxlib.com/frontDemoApi'
'url': 'http://58.49.77.70:8443/frontDemoApi'
}
}

10
library-activity/index.html

@ -10,16 +10,6 @@
<div id="app"></div>
<script src="https://s.yezgea02.com/1609305532675/echarts.js"></script>
<script type="module" src="/src/main.js"></script>
<script src="/js/core.min.js"></script>
<script src="/js/enc-base64.min.js"></script>
<script src="/js/md5.min.js"></script>
<script src="/js/evpkdf.min.js"></script>
<script src="/js/cipher-core.min.js"></script>
<script src="/js/aes.min.js"></script>
<script src="/js/pad-pkcs7.min.js"></script>
<script src="/js/mode-ecb.min.js"></script>
<script src="/js/enc-utf8.min.js"></script>
<script src="/js/enc-hex.min.js"></script>
<script src="https://sdk-release.qnsdk.com/qiniu-web-player-1.2.0.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
</body>

3
library-activity/src/main.js

@ -134,7 +134,8 @@ app.use(Toast)
.use(Progress)
.use(List);
app.config.globalProperties.$coverUrl = 'http://192.168.99.67:8080'
// app.config.globalProperties.$coverUrl = 'http://192.168.99.67:8080'
app.config.globalProperties.$coverUrl = 'http://58.49.77.70:8443'
app.config.globalProperties.$API = $API
app.config.globalProperties.$http = $http

2
library-activity/src/router/index.js

@ -1,7 +1,7 @@
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(), // hash模式:createWebHashHistory,history模式:createWebHistory
history: createWebHashHistory(), // hash模式:createWebHashHistory,history模式:createWebHistory
routes: [
{
path: '/',

2
library-activity/vite.config.js

@ -20,7 +20,7 @@ export default ({ mode }) => defineConfig({
symbolId: 'icon-[name]',
}),
],
base: baseUrl[mode],
base:'./',
build: {
minify: 'terser',
terserOptions: {

8
selfServiceMachine/.env.development

@ -3,12 +3,12 @@ ENV = 'development'
# 接口地址
#内网服务地址
#VUE_APP_BASE_API = 'http://120.76.47.59:8080'
#VUE_APP_WS_API = 'ws://120.76.47.59:8080'
VUE_APP_BASE_API = 'http://58.49.77.70:8443'
VUE_APP_WS_API = 'ws://58.49.77.70:8443'
# 许镇-本地服地址
VUE_APP_BASE_API = 'http://192.168.99.67:8080'
VUE_APP_WS_API = 'ws://192.168.99.67:8081'
# VUE_APP_BASE_API = 'http://192.168.99.67:8080'
# VUE_APP_WS_API = 'ws://192.168.99.67:8081'
# 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true

4
selfServiceMachine/.env.production

@ -3,7 +3,7 @@ ENV = 'production'
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
# VUE_APP_BASE_API = 'http://192.168.99.107:7070'
VUE_APP_BASE_API = 'http://172.22.0.23:8080'
VUE_APP_BASE_API = 'http://58.49.77.70:8443'
# VUE_APP_BASE_API = 'http://127.0.0.1:8080'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'ws://192.168.99.107:7071'
VUE_APP_WS_API = 'ws://58.49.77.70:8443'

6
selfServiceMachine/src/main.js

@ -20,8 +20,10 @@ Vue.prototype.$axios = axios
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.prototype.coverUrl = 'http://192.168.99.67:8080'
Vue.prototype.isLocal = 1
// Vue.prototype.coverUrl = 'http://192.168.99.67:8080'
Vue.prototype.coverUrl = 'http://58.49.77.70:8443'
Vue.prototype.isLocal = 0
Vue.config.productionTip = false

2
selfServiceMachine/src/views/onlineBookSelection.vue

@ -34,7 +34,7 @@ export default {
if(this.isLocal){
that.QRCode = 'http://192.168.99.50:8089/BookList?activeId?activeId='+ this.activeId
}else{
that.QRCode = window.location.href+'BookList?activeId?activeId='+ this.activeId
that.QRCode = window.location.origin +'/web/#/BookList?activeId?activeId='+ this.activeId
}
console.log(that.QRCode)
that.$nextTick(function () {

Loading…
Cancel
Save