添加后台代理代码
This commit is contained in:
32
codes/agent/game/dlweb/api/web2/invite_target.html
Normal file
32
codes/agent/game/dlweb/api/web2/invite_target.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
</head>
|
||||
<body>
|
||||
<script src="./libs/jquery.min.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./js/function.js?__HTML_VERSION__=18"></script>
|
||||
<script src="./libs/layer_mobile/layer.js?__HTML_VERSION__=3"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
var params = $.getQueryObj();
|
||||
|
||||
if(params.aid) {
|
||||
$.api(
|
||||
'youle.youle.channelConfigById',
|
||||
{
|
||||
id: params.aid
|
||||
},
|
||||
function (agentInfo) {
|
||||
window.location.href = params.t + '.html?agentid='+agentInfo.agent_id+'&channelid='+agentInfo.channel_id+'&sale='+params.sid
|
||||
}
|
||||
);
|
||||
} else {
|
||||
window.location.href = params.t+'.html'+window.location.search;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user