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
efb8a782
Commit
efb8a782
authored
Nov 13, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改参数
parent
eceb4f05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
jquery.dataStatistics.js
js/jquery.dataStatistics.js
+5
-5
No files found.
js/jquery.dataStatistics.js
View file @
efb8a782
...
@@ -225,7 +225,7 @@ $.fn.dataStatistics = function(options){
...
@@ -225,7 +225,7 @@ $.fn.dataStatistics = function(options){
type
:
"POST"
,
type
:
"POST"
,
url
:
`
${
getApiUrl
().
urlJava
}
api/appActivity/PanicBuyingCoupon`
,
url
:
`
${
getApiUrl
().
urlJava
}
api/appActivity/PanicBuyingCoupon`
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
getJavaData
({
redemptionPrice
:
options
.
price
,
couponId
:
options
.
couponId
}),
data
:
getJavaData
({
redemptionPrice
:
options
.
price
,
couponId
:
options
.
couponId
,
productName
:
'印象之旅-200元无敌优惠券'
}),
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
options
.
platform
==
'app'
){
if
(
options
.
platform
==
'app'
){
...
@@ -240,7 +240,7 @@ $.fn.dataStatistics = function(options){
...
@@ -240,7 +240,7 @@ $.fn.dataStatistics = function(options){
// clearInterval(timer3) //2,执行动画之后清除timer3
// clearInterval(timer3) //2,执行动画之后清除timer3
// },difference*1000)
// },difference*1000)
let
title
=
'
200元'
+
$
(
'.img_bg_p1'
).
html
()
;
let
title
=
'
印象之旅-200元无敌优惠券'
;
let
data
=
{
let
data
=
{
'action'
:
'jump'
,
// showToast->一个提示信息 showHud->一个黑色的loading
'action'
:
'jump'
,
// showToast->一个提示信息 showHud->一个黑色的loading
...
@@ -291,7 +291,9 @@ $.fn.dataStatistics = function(options){
...
@@ -291,7 +291,9 @@ $.fn.dataStatistics = function(options){
}
else
{
}
else
{
layer
.
msg
(
res
.
message
)
layer
.
msg
(
res
.
message
)
}
}
window
.
location
.
reload
()
layer
.
msg
(
res
.
message
)
// window.location.reload()
}
}
},
},
...
@@ -302,8 +304,6 @@ $.fn.dataStatistics = function(options){
...
@@ -302,8 +304,6 @@ $.fn.dataStatistics = function(options){
}
else
{
}
else
{
}
}
layer
.
msg
(
res
.
message
)
}
}
});
});
}
else
{
}
else
{
...
...
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