Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
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
华国豪
SURPRISED
Commits
607e9dcb
Commit
607e9dcb
authored
Nov 14, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/surprised
parents
b93cecbc
7d63a86d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
GT_activities.html
html/GT_activities.html
+1
-0
Rushbuy.html
html/Rushbuy.html
+8
-0
mian.js
js/mian.js
+2
-1
No files found.
html/GT_activities.html
View file @
607e9dcb
...
...
@@ -397,6 +397,7 @@
//优惠券的有限时间
let
expirationDate
=
(
res
.
data
.
expirationDate
).
split
(
'T'
)[
0
].
replace
(
/-/g
,
'.'
);
RushbuyTime
=
expirationDate
;
$
(
'.img_bg_p2'
).
html
(
'有效期截止:'
+
expirationDate
)
}
else
{
...
...
html/Rushbuy.html
View file @
607e9dcb
...
...
@@ -60,6 +60,14 @@
},
500
)
}
)
let
buyIf
=
{}
if
(
localStorage
.
buyInfo
)
{
buyIf
=
localStorage
.
buyInfo
}
else
{
window
.
location
.
href
=
'https://activity.oytour.com/html/GT_activities.html'
;
}
</script>
</body>
</html>
js/mian.js
View file @
607e9dcb
let
locationName
=
window
.
location
.
hostname
;
let
RushbuyTime
=
''
;
function
getApiUrl
()
{
let
url
=
{
urlPost
:
"https://reborn.oytour.com/api/common/post"
,
//urlPost: locationName.indexOf('oytour') !== -1 ? "http://reborn.oytour.com/api/common/post" : "http://192.168.2.214:8082/api/common/post",
//urlJava: locationName.indexOf('oytour') !== -1 ? "https://efficient.oytour.com/" : "http://192.168.2.215:9000/"
urlJava
:
"https://efficient.oytour.com/"
urlJava
:
"https://efficient.oytour.com/"
}
return
url
}
...
...
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