Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
石盼盼
repair_workers_h5
Commits
2099005e
Commit
2099005e
authored
Jul 18, 2023
by
高智胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试版本
parent
8b63c1b3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
apiList.js
src/api/apiList.js
+4
-4
vue.config.js
vue.config.js
+2
-2
No files found.
src/api/apiList.js
View file @
2099005e
const
baseUrl
=
'
/api
'
const
baseUrl
=
'
/api
'
// todo: url
// todo: url
//
const httpUrl = 'http://repairtest.dxccy.com' // 测试接口
const
httpUrl
=
'
http://repairtest.dxccy.com
'
// 测试接口
//
const h5Url = 'http://repair.test.h5.dxccy.com' // 测试h5线上地址
const
h5Url
=
'
http://repair.test.h5.dxccy.com
'
// 测试h5线上地址
const
httpUrl
=
'
https://repair.dxccy.com
'
// 正式接口
//
const httpUrl = 'https://repair.dxccy.com' // 正式接口
const
h5Url
=
'
https://repair.h5.dxccy.com
'
// 正式h5线上地址
//
const h5Url = 'https://repair.h5.dxccy.com' // 正式h5线上地址
const
wxLogin
=
'
/api/worker/login
'
// 微信登录获取token、登录状态
const
wxLogin
=
'
/api/worker/login
'
// 微信登录获取token、登录状态
const
curScope
=
'
scopes=snsapi_base&type=1
'
const
curScope
=
'
scopes=snsapi_base&type=1
'
...
...
vue.config.js
View file @
2099005e
...
@@ -61,8 +61,8 @@ module.exports = {
...
@@ -61,8 +61,8 @@ module.exports = {
proxy
:
{
proxy
:
{
'
/api/
'
:
{
'
/api/
'
:
{
// todo: url
// todo: url
//
target: 'http://repairtest.dxccy.com/api', // 测试
target
:
'
http://repairtest.dxccy.com/api
'
,
// 测试
target
:
'
https://repair.dxccy.com/api
'
,
// 正式
//
target: 'https://repair.dxccy.com/api', // 正式
autoRewrite
:
true
,
autoRewrite
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
ws
:
true
,
ws
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment