Files
youlegames/codes/agent/game-docker/dlweb/api/web2/power_register_sales.html

99 lines
2.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<title>权限管理-修复绑定异常</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/style.css?__HTML_VERSION__=6">
<link rel="stylesheet" href="./libs/bootstrap/bootstrap.min.css?__HTML_VERSION__=3">
<style>
.indent {text-indent: 2em;}
</style>
</head>
<body class="bg_hui">
<div class="count_full" id="app">
<header class="header header-pos-fix">
<div onclick="history.back(-1)">
<img src="img/fahui.png" class="img">
<span class="text_wen">返回</span>
</div>
</header>
<div style="width: 100%;height: 45px;display: block;"></div>
<div style="padding: 0 10px;">
功能描述:
<p class="indent">1. 用来修复玩家在游戏中绑定代理时报代理不存在但在代理后台中确实存在的异常。大概需要10秒生效</p>
</div>
<section class="buju">
<div class="chongka" id="fengwan">
<div class="rowh he">
<span class="name">推广账号:</span>
<input type="number" placeholder="请输入推广账号" class="input" autofocus v-model="query_id">
</div>
<div class="rowh text-center conkabtn">
<a href="javascript:;" class="btn btn-danger closes" @click="fixBug()">修复</a>
</div>
</div>
</section>
</div>
<script src="./libs/jquery.min.js?__HTML_VERSION__=3"></script>
<script src="./libs/bootstrap/bootstrap.min.js?__HTML_VERSION__=3"></script>
<script src="./libs/vue.min.js?__HTML_VERSION__=3"></script>
<script src="./libs/layer_mobile/layer.js?__HTML_VERSION__=3"></script>
<script src="./js/env-config.js?__HTML_VERSION__=1"></script>
<script src="./js/function.js?__HTML_VERSION__=18"></script>
<script src="./components/home-nav.js?__HTML_VERSION__=12"></script>
<script>
new Vue(
{
el: "#app",
data: {
params: {},
// 上级代理的信息
parentSalesInfo: {},
// 查询人的id
query_id: ''
},
methods: {
/**
* 修复绑定异常
*/
fixBug: function () {
var el = this;
try {
if(!this.query_id) throw '请输入查询id';
} catch (e) {
$.alert(e);
return;
}
$.api(
'agent.agent.gameRegisterSales',
{
agentid: el.params.agentid,
channelid: el.params.channelid,
salesid: el.query_id
},
function (res) {
$.msg('操作成功');
}, 1
);
}
},
created: function () {
this.params = $.getQueryObj();
}
})
</script>
</body>
</html>