Commit 08a983f5 authored by zhangjinzhou's avatar zhangjinzhou

调整口令233

parent f854dc7e
......@@ -2591,7 +2591,7 @@ export class NetManager extends ABNetManager {
public getShareContent(callback,activityCode,sceneCode,token){
const net: INetData = {
name: "generateCode",
uri: "https://gameact.suning.com/sngame-web/share/api/gateway/getShareContentByToken.do?activityCode="+activityCode+"&sceneCode="+sceneCode+"&token="+token,
uri: "https://gameapi.suning.com/sngame-web/share/api/public/getShareContentByToken.do?activityCode="+activityCode+"&sceneCode="+sceneCode+"&token="+token,
type: 'get',
dataType: 'json',
hideMsg: true,
......
......@@ -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://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)
}
});
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