Commit f854dc7e authored by zhangjinzhou's avatar zhangjinzhou

代码暂存

parent 855474a9
......@@ -320,25 +320,25 @@ function generateCode(callback: Function, channel: CodeChannels, shareCode: stri
token
}
console.log("新请求233567456");
NetManager.ins.getShareContent(callback,activityCode,sceneCode,token);
// window['$'].ajax({
// type: "post",
// url: "https://gameact.suning.com/sngame-web/share/api/gateway/getShareContentByToken.do",
// dataType: "json",
// data: {
// activityCode,
// sceneCode,
// token
// },
// async: true,
// success: (result) => {
// callback(true, result)
// },
// error: (message) => {
// callback(false, message)
// }
// });
// NetManager.ins.getShareContent(callback,activityCode,sceneCode,token);
window['$'].ajax({
type: "post",
url: "https://gameapi.suning.com/sngame-web/api/getShareGameInfo.do",
dataType: "json",
data: {
activityCode,
sceneCode,
token
},
async: true,
success: (result) => {
callback(true, result)
},
error: (message) => {
callback(false, message)
}
});
}
......
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