Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
42720a7b
Commit
42720a7b
authored
Feb 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
52e587bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
common.js
public/app/js/common.js
+2
-1
public.js
public/appnew/src/assets/js/public.js
+4
-1
No files found.
public/app/js/common.js
View file @
42720a7b
console
.
log
(
location
.
href
);
var
ServerHost
=
location
.
origin
;
var
ServerHostTempCLiu
=
'https://
images
.tonglianjituan.com'
;
var
ServerHostTempCLiu
=
'https://
pre2
.tonglianjituan.com'
;
var
ServerHostTempC
=
'https://pre2.tonglianjituan.com'
;
//var ServerHostTempC = 'http://192.168.2.13';
if
(
~
ServerHost
.
indexOf
(
'estate.'
)){
...
...
@@ -11,6 +11,7 @@ if(~ServerHost.indexOf('run.tonglianjituan.com')){
};
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
ServerHostTempC
=
'https://api.tonglianjituan.com'
;
ServerHostTempCLiu
=
'https://images.tonglianjituan.com'
;
};
//从location.href里获取参数
function
getUrlParam
(
name
)
{
...
...
public/appnew/src/assets/js/public.js
View file @
42720a7b
//公用js文件
let
ServerHost
=
'https://pre2.tonglianjituan.com'
;
//let ServerHost = 'https://api.tonglianjituan.com';
let
ServerHostImageLiu
=
'http://pre2.tonglianjituan.com'
;
if
(
location
.
origin
===
'https://api.tonglianjituan.com'
)
{
ServerHost
=
location
.
origin
;
};
let
ServerHostImageLiu
=
'http://images.tonglianjituan.com'
;
};
import
axios
from
'axios'
;
import
'@/assets/js/layer041002.js'
;
export
default
{
...
...
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