Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c12af2e4
authored
2024-06-03 18:10:51 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
票务代理
1 parent
e0107b0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
.env.development
.env.staging
src/viewsPc/seat/utils/request.js
.env.development
View file @
c12af2e
...
...
@@ -17,3 +17,5 @@ VITE_APP_MONITRO_ADMIN = 'http://localhost:9090/admin/login'
VITE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
VITE_TICKET_BASE_API = 'ticket'
...
...
.env.staging
View file @
c12af2e
...
...
@@ -19,4 +19,6 @@ VITE_APP_BASE_API = '/stage-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
\ No newline at end of file
VITE_APP_SOCKET_URL='http://192.168.1.133:8088'
VITE_TICKET_BASE_API = 'https://ticketh5.wdsfwuxicenter.com/ticket'
...
...
src/viewsPc/seat/utils/request.js
View file @
c12af2e
...
...
@@ -7,10 +7,10 @@ import { ElMessage } from "element-plus";
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
"language"
,
0
);
const
baseURL
=
import
.
meta
.
env
.
VITE_TICKET_BASE_API
// const baseURL = VITE_TICKET_BASE_API; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
// const baseURL = "https://ticketh5.wdsfwuxicenter.com/ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
const
baseURL
=
"ticket"
;
//"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
// const baseURL = "ticket"; //"http://book.xiaojinyu.games"; // 这里填入你的基础 API URL
const
timeout
=
15000
;
// 请求超时时间
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment