Commit 66ed74a8 authored by xinyuandu's avatar xinyuandu

com

parent 578fdd3f
......@@ -25,6 +25,7 @@
}
console.log(number);
$.get('/broker/addSpreadUser',params,function(data){
if (data.code == 200 ){
$.confirm({
title: '领取成功',
content: '500元代金券领取成功,即将返回商铺列表.',
......@@ -32,12 +33,28 @@
'确定': function () {
location.href = '/app/dist/#/shopList?isSendFiveHundred=1' + "&" + url;
},
// '取消': function () {
// window.location="www.baidu.com"
// },
// '取消': function () {
// window.location="www.baidu.com"
// },
}
});
} else {
$.confirm({
title: '领取失败',
content: data.message,
buttons: {
'返回商铺': function () {
location.href = '/app/dist/#/shopList?isSendFiveHundred=1' + "&" + url;
},
'重新提交': function () {
},
}
});
}
},'json');
})
})();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment