...
|
...
|
@@ -24,7 +24,7 @@ ellipsis.init(); |
|
|
$newCoupon.on('submit', function() {
|
|
|
$.ajax({
|
|
|
method: 'POST',
|
|
|
url: '/shoppingCart/coupon',
|
|
|
url: '/shoppingCart/couponSearch',
|
|
|
data: $(this).serialize()
|
|
|
}).then(function(res) {
|
|
|
if (res.code === 200) {
|
...
|
...
|
@@ -40,7 +40,7 @@ $newCoupon.on('submit', function() { |
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$('#coupon-list').on('touchend', 'employ-main', function() {
|
|
|
$('#coupon-list').on('touchend', '.employ-main', function() {
|
|
|
orderInfo('couponCode', $(this).data('coupon-code'));
|
|
|
});
|
|
|
|
...
|
...
|
@@ -126,7 +126,7 @@ function getCouponDate() { |
|
|
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: '/home/couponData',
|
|
|
url: '/shoppingCart/couponList',
|
|
|
dataType: 'json',
|
|
|
data: {
|
|
|
page: page
|
...
|
...
|
|