Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
liebaochHtml
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b1e5ec56
authored
Apr 10, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
4c3007e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
js/global.js
js/global.js
View file @
b1e5ec56
...
@@ -116,11 +116,7 @@
...
@@ -116,11 +116,7 @@
var
currentDomain
=
window
.
location
.
hostname
;
var
currentDomain
=
window
.
location
.
hostname
;
// 判断当前域名是否包含 'liebao'
// 判断当前域名是否包含 'liebao'
if
(
currentDomain
.
includes
(
'liebao'
))
{
var
apiUrl
=
'http://api.liexin.com/supplyopen/addCheetahContact'
;
}
else
{
var
apiUrl
=
'https://api.ichunt.com/supplyopen/addCheetahContact'
;
var
apiUrl
=
'https://api.ichunt.com/supplyopen/addCheetahContact'
;
}
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
...
...
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