Commit 4b13c1cd by 颜景龙

静态页面

parent e95c6245
正在显示 包含 13 行增加13 行删除
...@@ -571,21 +571,21 @@ ...@@ -571,21 +571,21 @@
giftIDs.push(item.dataset['id']); giftIDs.push(item.dataset['id']);
}); });
if ($('#cardGiftId') && $('#cardGiftId').val()) { // if ($('#cardGiftId') && $('#cardGiftId').val()) {
giftIDs.push(parseInt($('#cardGiftId').val())); // giftIDs.push(parseInt($('#cardGiftId').val()));
} // }
if ($('#personalGiftId') && $('#personalGiftId').val()) { // if ($('#personalGiftId') && $('#personalGiftId').val()) {
giftIDs.push(parseInt($('#personalGiftId').val())); // giftIDs.push(parseInt($('#personalGiftId').val()));
} // }
if ($('#personalGiftId') && $('#registerGiftId').val()) { // if ($('#personalGiftId') && $('#registerGiftId').val()) {
giftIDs.push(parseInt($('#registerGiftId').val())); // giftIDs.push(parseInt($('#registerGiftId').val()));
} // }
if ($('#primeGiftId') && $('#primeGiftId').val()) { // if ($('#primeGiftId') && $('#primeGiftId').val()) {
giftIDs.push(parseInt($('#primeGiftId').val())); // giftIDs.push(parseInt($('#primeGiftId').val()));
} // }
var body = { var body = {
giftIds: giftIDs, giftIds: giftIDs,
......
...@@ -2,7 +2,7 @@ var CONSTANT = (function() { ...@@ -2,7 +2,7 @@ var CONSTANT = (function() {
// Private static attributes. // Private static attributes.
var HTTP_URL = 'http://'+location.hostname+':'+location.port+'/wedo-fit'; var HTTP_URL = 'http://'+location.hostname+':'+location.port+'/wedo-fit';
//var HTTP_URL = 'http://192.168.31.217:8080/wedo-fit'; // var HTTP_URL = 'http://192.168.31.217:8080/wedo-fit';
var DATA={}; var DATA={};
// 定义了一个静态方法 // 定义了一个静态方法
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此消息的编辑!
注册登录 后发表评论