Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
f58ee198
Commit
f58ee198
authored
Sep 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b4b917fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.js
src/plug/index.js
+5
-5
No files found.
src/plug/index.js
View file @
f58ee198
...
...
@@ -113,15 +113,15 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
// domainUrl = "http://testapi.oytour.com";
domainUrl
=
"http://192.168.2.214:8082"
;
// domainUrl = "http://192.168.2.16:8083
";
//
domainUrl = "http://192.168.2.214:8082";
domainUrl
=
"http://192.168.2.65:8025
"
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'
yx.
oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'
viitto
'
)
!==
-
1
)
{
domainUrl
=
"http://test
.viitto
.com"
;
}
else
if
(
locationName
.
indexOf
(
'
testerp.oytour
'
)
!==
-
1
)
{
domainUrl
=
"http://test
api.oytour
.com"
;
}
var
obj
=
{
//主地址
...
...
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