|
@@ -38,8 +38,6 @@ seaLoader(function (seajs) {
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
var M = {
|
|
var M = {
|
|
linqustate: function () {
|
|
linqustate: function () {
|
|
var $linquWrap = $(".lingqu-wrap")
|
|
var $linquWrap = $(".lingqu-wrap")
|
|
@@ -71,16 +69,13 @@ var M = {
|
|
gift_id: gift_id
|
|
gift_id: gift_id
|
|
}
|
|
}
|
|
if (code) {
|
|
if (code) {
|
|
- data._phrase = encodeURIComponent(code);
|
|
|
|
|
|
+ data._phrase = (code);
|
|
}
|
|
}
|
|
|
|
+
|
|
$.ajax({
|
|
$.ajax({
|
|
url: 'http://ka.duowan.com/gift/receive',
|
|
url: 'http://ka.duowan.com/gift/receive',
|
|
dataType: 'jsonp',
|
|
dataType: 'jsonp',
|
|
data: data,
|
|
data: data,
|
|
- cache: false,
|
|
|
|
- xhrFields: {
|
|
|
|
- withCredentials: true
|
|
|
|
- },
|
|
|
|
success: function (ret) {
|
|
success: function (ret) {
|
|
if (ret.code == 0) {
|
|
if (ret.code == 0) {
|
|
var linqu_sn = ret.data;
|
|
var linqu_sn = ret.data;
|