Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
黄媛媛
ElectricitySheep
Commits
021f239e
Commit
021f239e
authored
Dec 09, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b0be243c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.js
src/plug/index.js
+3
-3
No files found.
src/plug/index.js
View file @
021f239e
...
@@ -53,21 +53,21 @@ export default {
...
@@ -53,21 +53,21 @@ export default {
},
},
//域名管理对象
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
let
domain
Url
=
"http://192.168.5.46:8200"
;
//商城接口地址
let
mallApi
Url
=
"http://192.168.5.46:8200"
;
//商城接口地址
let
javaUrl
=
'http://192.168.5.214:8018'
;
//资产Api地址
let
javaUrl
=
'http://192.168.5.214:8018'
;
//资产Api地址
let
vtUploadUrl
=
"http://192.168.5.214:8120"
;
//文件上传地址
let
vtUploadUrl
=
"http://192.168.5.214:8120"
;
//文件上传地址
let
vtViewUrl
=
"http://192.168.5.214:8130"
;
//文件预览地址
let
vtViewUrl
=
"http://192.168.5.214:8130"
;
//文件预览地址
let
erpWebUrl
=
"http://localhost:8080"
;
//ERP后台Web地址
let
erpWebUrl
=
"http://localhost:8080"
;
//ERP后台Web地址
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domain
Url
=
"https://mallapi.oytour.com"
;
mallApi
Url
=
"https://mallapi.oytour.com"
;
javaUrl
=
"http://property.oytour.com"
;
javaUrl
=
"http://property.oytour.com"
;
vtUploadUrl
=
"http://upload.oytour.com"
;
vtUploadUrl
=
"http://upload.oytour.com"
;
vtViewUrl
=
"https://imgfile.oytour.com"
;
vtViewUrl
=
"https://imgfile.oytour.com"
;
erpWebUrl
=
"http://admin.oytour.com"
;
erpWebUrl
=
"http://admin.oytour.com"
;
}
}
var
obj
=
{
var
obj
=
{
DomainUrl
:
domain
Url
,
//商城接口地址
DomainUrl
:
mallApi
Url
,
//商城接口地址
javaUrl
:
javaUrl
,
//资产Api地址
javaUrl
:
javaUrl
,
//资产Api地址
ImageUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
,
ImageUrl
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com'
,
UploadFileUrl
:
domainUrl
+
'/api/File/LocalFileUploadImport'
,
UploadFileUrl
:
domainUrl
+
'/api/File/LocalFileUploadImport'
,
...
...
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