This commit is contained in:
linfso 2024-05-20 09:05:34 +08:00
parent 373233e914
commit d7c3a5b7cb
4 changed files with 11 additions and 3 deletions

View File

@ -13,5 +13,9 @@ VUE_APP_BASE_API = 'http://47.102.220.189:58089/api/bizsvr'
# VUE_APP_BASE_API = 'http://47.96.189.20:58089/api/bizsvr'
VUE_APP_PRINTER_HOST = '192.168.88.100:17080'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

View File

@ -4,8 +4,10 @@ VUE_APP_TITLE = 管理系统
# 生产环境配置
ENV = 'production'
VUE_APP_VERSION = '20240516'
VUE_APP_VERSION = '20240520'
# 管理系统/生产环境
VUE_APP_PDOMAIN = 'tanex56'
VUE_APP_BASE_API = 'https://api.emis.tanex56.com/api/bizsvr'
VUE_APP_PRINTER_HOST = '127.0.0.1:17080'

View File

@ -12,3 +12,5 @@ VUE_APP_VERSION = '20240516'
VUE_APP_BASE_API = '/stage-api'
VUE_APP_PDOMAIN = 'tanex56'
VUE_APP_BASE_API = 'http://api.emis.tanex56.com/api/bizsvr'
VUE_APP_PRINTER_HOST = '127.0.0.1:17080'

View File

@ -20,8 +20,8 @@ class TanexPrinterSdk {
VERSION="1.0.0"
MAX_SENT_RETRY_COUNT = 9;
WS_URL = "ws://127.0.0.1:17080/ws";
HTTP_GET_PDF = "http://127.0.0.1:17080/api/downPdfFile";
WS_URL = 'ws://'+process.env.VUE_APP_PRINTER_HOST+'/ws';
HTTP_GET_PDF = 'http://'+process.env.VUE_APP_PRINTER_HOST+'/api/downPdfFile';
// WS_URL = "ws://192.168.88.100:17080/ws";
// HTTP_GET_PDF = "http://192.168.88.100:17080/api/downPdfFile";