You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

589 lines
33 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<extend name="Public/base"/>
<block name="body">
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
<script type="text/javascript" src="__JS__/select2.min.js"></script>
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
<div class="cf main-place top_nav_list navtab_list">
<ul class="tabnav1711 fr jstabnav">
<li data-tab="tab1" class="current"><a href="javascript:void(0);" >QQ登录</a></li>
<li data-tab="tab2"><a href="javascript:void(0);" >微信登录</a></li>
<!-- <li data-tab="tab5"><a href="javascript:void(0);" >微信(扫码)</a></li> -->
<li data-tab="tab3"><a href="javascript:void(0);" >微博登录</a></li>
<li data-tab="tab4"><a href="javascript:void(0);" >百度登录</a></li>
</ul>
<h3 class="page_title">{$meta_title}</h3>
<p class="description_text">用于配置相关第三方登录所用参数的功能</p>
</div>
<div class="tab-wrap">
<div class="infomation information1711">
<div class="informationitem tab-pane tab1 in">
<p>QQ第三方登录在本系统有两处需使用PC官网和手游SDKPC官网需申请网页应用手游SDK需申请移动应用。</p>
<p>网页应用申请地址:<a href="http://open.qq.com/" target="_blank">http://open.qq.com/ QQ互联</a></p>
<p>移动应用申请地址:<a href="https://connect.qq.com/" target="_blank">https://connect.qq.com/(腾讯开放平台)</a></p>
</div>
<div class="informationitem tab-pane tab2">
<p>微信第三方登录在本系统有两处需使用PC官网和手游SDKPC官网需申请网页应用手游SDK需申请移动应用。</p>
<p>网页应用申请地址:<a href="https://open.weixin.qq.com/" target="_blank">https://open.weixin.qq.com/(微信开放平台)</a></p>
<p>移动应用申请地址:<a href="https://open.weixin.qq.com/" target="_blank">https://open.weixin.qq.com/</a></p>
</div>
<div class="informationitem tab-pane tab3">
<p>新浪微博第三方登录在本系统有两处需使用PC官网和手游SDKPC官网需申请网页应用手游SDK需申请移动应用。</p>
<p>网页应用申请地址:<a href="http://open.weibo.com/" target="_blank">http://open.weibo.com/(新浪微博开放平台)</a></p>
<p>移动应用申请地址:<a href="http://open.weibo.com/" target="_blank">http://open.weibo.com/</a></p>
</div>
<div class="informationitem tab-pane tab4">
<p>百度第三方登录在本系统有两处需使用PC官网和手游SDKPC官网需申请网页应用手游SDK需申请移动应用。</p>
<p>网页应用申请地址:<a href="http://developer.baidu.com" target="_blank">http://developer.baidu.com百度开放平台</a></p>
<p>移动应用申请地址:<a href="http://developer.baidu.com" target="_blank">http://developer.baidu.com</a></p>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab1" class="tab-pane in tab1">
<div class="tab-content-subtab jssubtab clearfix">
<a href="javascript:;" class="tabcon-subtab tcst1 current">PC官网</a>
<a href="javascript:;" class="tabcon-subtab tcst2">SDK(安卓游戏)</a>
<a href="javascript:;" class="tabcon-subtab tcst3">SDK(苹果游戏)</a>
</div>
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal qq_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">openid</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$qq_login['appid']}" class="">
<span class="notice-text">合作身份者id以2088开头的16位纯数字</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">安全检验码</td>
<td class="r table_radio">
<input name="config[key]" type="text" value="{$qq_login['key']}" class="">
<span class="notice-text">安全检验码以数字和字母组成的32位字符</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$qq_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="qq_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="qq_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">QQ登陆开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="qq_login">
<input type="submit" id="submit" value="保存" target-form="qq_login" class="submit_btn form_btn ajax-post">
</form>
</div>
<div class="tab-content-subpan jssubpan clearfix ">
<div class="cf top_nav_list">
<empty name="extend">
<div class="fl button_list">
<div class="tools">
<a class="" href="{:U('add_thirdparty')}"><span class="button_icon button_icon1"></span>新增</a>
<a class="ajax-post confirm" target-form="ids" url="{:U('del?model='.$model['id'])}"><span class="button_icon button_icon2"></span>删除</a>
</div>
</div>
</empty>
<!-- 高级搜索 -->
<div class="jssearch fl cf search_list">
<div class="input-list search-title-box">
</div>
<div class="input-list input-list-game search_label_rehab">
<select id="game_id" name="game_name" class="select_gallery" >
<option value="">游戏名称</option>
<volist name=":get_game_list()" id="vo">
<option game-id="{$vo.id}" value="{$vo.game_name}">{$vo.game_name}</option>
</volist>
</select>
</div>
<div class="input-list">
<a class="sch-btn" href="javascript:;" id="search" url="{:U('Rebate/lists','model='.$model['name'],false)}">搜索{:var_dump($_GET)}</a>
</div>
</div>
</div>
<div class="data_list">
<div class="">
<table>
<!-- 表头 -->
<thead>
<tr>
<th>游戏id</th>
<th>游戏名称</th>
<th>opend</th>
<th>安全校验码</th>
<th>回调地址</th>
<th>充值方式</th>
<th>启用状态</th>
<th>操作</th>
</tr>
</thead>
<!-- 列表 -->
<tbody>
<empty name="list_data">
<td colspan="15" class="text-center">aOh! 暂时还没有内容!</td>
<else/>
<volist name="list_data" id="data">
<tr>
<td>{:set_show_time($data['pay_time'])}</td>
<td>{$data.game_name}</td>
<td>{:get_promote_account($data['promote_id'])}</td>
<td>{$data.spend_ip}</td>
<td>{$data.cost|default=0.00}</td>
<td><span>{$data.pay_amount}</span></td>
<td>{:get_pay_way($data['pay_way'])}</td>
<td>
<if condition="$data['pay_game_status'] eq 0 and $data['pay_status'] eq 1">
<a class="ajax-get budan" href="javascript:void(0);"
href-data="{$data.pay_order_number}" href-hhh="{:U('Repair/repairEdit')}">补单</a>
<else/>
<span>补单</span>
</if>
</td>
</tr>
</volist>
</empty>
</tbody>
</table>
</div>
</div>
<div class="page">
{$_page|default=''}
</div>
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab2" class="tab-pane tab2">
<div class="tab-content-subtab jssubtab clearfix">
<a href="javascript:;" class="tabcon-subtab tcst1 current">WEB</a>
<a href="javascript:;" class="tabcon-subtab tcst2">SDK</a>
</div>
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal web_weixin_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">公众号ID</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$web_weixin_login['appid']}" class="">
<span class="notice-text">微信提供的唯一识别码</span>
</td>
</tr><tr>
<td class="l noticeinfo">APPSECRET</td>
<td class="r table_radio">
<input name="config[appsecret]" type="text" value="{$web_weixin_login['appsecret']}" class="">
<span class="notice-text">应用注册成功后分配的KEY</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$web_weixin_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="web_weixin_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="web_weixin_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信登陆开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="web_weixin_login">
<input type="submit" id="submit" value="保存" target-form="web_weixin_login" class="submit_btn form_btn ajax-post">
</form>
</div>
<div class="tab-content-subpan jssubpan clearfix">
<form action="{:U('saveTool')}" method="post" class="form-horizontal weixin_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">公众号ID</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$weixin_login['appid']}" class="">
<span class="notice-text">微信提供的唯一识别码</span>
</td>
</tr><tr>
<td class="l noticeinfo">APPSECRET</td>
<td class="r table_radio">
<input name="config[appsecret]" type="text" value="{$weixin_login['appsecret']}" class="">
<span class="notice-text">应用注册成功后分配的KEY</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$weixin_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="weixin_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="weixin_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信登陆开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="weixin_login">
<input type="submit" id="submit" value="保存" target-form="weixin_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div>
</div>
<!-- <div class="tab-content tabcon1711 tabcon17112">
<div id="tab5" class="tab-pane tab5">
<form action="{:U('saveTool')}" method="post" class="form-horizontal wx_pc_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">公众号ID</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$wx_pc_login['appid']}" class="">
<span class="notice-text">微信提供的唯一识别码</span>
</td>
</tr><tr>
<td class="l noticeinfo">APPSECRET</td>
<td class="r table_radio">
<input name="config[appsecret]" type="text" value="{$wx_pc_login['appsecret']}" class="">
<span class="notice-text">应用注册成功后分配的KEY</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="wx_pc_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="wx_pc_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信登陆开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="wx_pc_login">
<input type="submit" id="submit" value="保存" target-form="wx_pc_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div> -->
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab3" class="tab-pane tab3">
<div class="tab-content-subtab jssubtab clearfix">
<a href="javascript:;" class="tabcon-subtab tcst1 current">WEB</a>
<a href="javascript:;" class="tabcon-subtab tcst2">SDK</a>
</div>
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal web_sina_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">appkey</td>
<td class="r table_radio">
<input name="config[appkey]" type="text" value="{$web_sina_login['appkey']}" class="">
<span class="notice-text">微博appkey</span>
</td>
</tr><tr>
<td class="l noticeinfo">redirecturl</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$web_sina_login['callback']}" class="">
<span class="notice-text">回调地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">scope</td>
<td class="r table_radio">
<input name="config[scope]" type="text" value="{$web_sina_login['scope']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label>
<input type="radio" name="status" value="0" <eq name="web_sina_login_data['status']" value="0">checked="checked"</eq>> 禁用
</label>
<label>
<input type="radio" name="status" value="1" <eq name="web_sina_login_data['status']" value="1">checked="checked"</eq>> 启用
</label>
</span>
<span class="notice-text">微博开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="web_sina_login">
<input type="submit" id="submit" value="保存" target-form="web_sina_login" class="submit_btn form_btn ajax-post">
</form>
</div>
<div class="tab-content-subpan jssubpan clearfix">
<form action="{:U('saveTool')}" method="post" class="form-horizontal sina_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">appkey</td>
<td class="r table_radio">
<input name="config[appkey]" type="text" value="{$sina_login['appkey']}" class="">
<span class="notice-text">微博appkey</span>
</td>
</tr><tr>
<td class="l noticeinfo">redirecturl</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$sina_login['callback']}" class="">
<span class="notice-text">回调地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">scope</td>
<td class="r table_radio">
<input name="config[scope]" type="text" value="{$sina_login['scope']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label>
<input type="radio" name="status" value="0" <eq name="sina_login_data['status']" value="0">checked="checked"</eq>> 禁用
</label>
<label>
<input type="radio" name="status" value="1" <eq name="sina_login_data['status']" value="1">checked="checked"</eq>> 启用
</label>
</span>
<span class="notice-text">微博开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="sina_login">
<input type="submit" id="submit" value="保存" target-form="sina_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab4" class="tab-pane tab4">
<div class="tab-content-subtab jssubtab clearfix">
<a href="javascript:;" class="tabcon-subtab tcst1 current">WEB</a>
<a href="javascript:;" class="tabcon-subtab tcst2">SDK</a>
</div>
<div class="tab-content-subpan jssubpan clearfix current">
<form action="{:U('saveTool')}" method="post" class="form-horizontal web_baidu_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">clientid</td>
<td class="r table_radio">
<input name="config[clientid]" type="text" value="{$web_baidu_login['clientid']}" class="">
<span class="notice-text">百度clientid</span>
</td>
</tr><tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$web_baidu_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="web_baidu_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="web_baidu_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="web_baidu_login">
<input type="submit" id="submit" value="保存" target-form="web_baidu_login" class="submit_btn form_btn ajax-post">
</form>
</div>
<div class="tab-content-subpan jssubpan clearfix">
<form action="{:U('saveTool')}" method="post" class="form-horizontal baidu_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">clientid</td>
<td class="r table_radio">
<input name="config[clientid]" type="text" value="{$baidu_login['clientid']}" class="">
<span class="notice-text">百度clientid</span>
</td>
</tr><tr>
<td class="l noticeinfo">回调地址</td>
<td class="r table_radio">
<input name="config[callback]" type="text" value="{$baidu_login['callback']}" class="">
<span class="notice-text">登录成功后返回的地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="baidu_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="baidu_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="baidu_login">
<input type="submit" id="submit" value="保存" target-form="baidu_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab6" class="tab-pane tab6">
<form action="{:U('saveTool')}" method="post" class="form-horizontal fb_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">App ID</td>
<td class="r table_radio">
<input name="config[appid]" type="text" value="{$fb_login['appid']}" class="">
<span class="notice-text">Facebook App ID</span>
</td>
</tr><tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="fb_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="fb_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="fb_login">
<input type="submit" id="submit" value="保存" target-form="fb_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab7" class="tab-pane tab7">
<form action="{:U('saveTool')}" method="post" class="form-horizontal gg_login form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">clientid</td>
<td class="r table_radio">
<input name="config[clientid]" type="text" value="{$gg_login['clientid']}" class="">
<span class="notice-text">谷歌clientID</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">clientsecert</td>
<td class="r table_radio">
<input name="config[clientsecert]" type="text" value="{$gg_login['clientsecert']}" class="">
<span class="notice-text">谷歌clientSecert</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="gg_login_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="gg_login_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">微信开启状态</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="gg_login">
<input type="submit" id="submit" value="保存" target-form="gg_login" class="submit_btn form_btn ajax-post">
</form>
</div>
</div>
</div>
</block>
<block name="script">
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('Tool/thirdparty')}');
$(function(){
$(".select_gallery").select2();
//搜索功能
$("#search").click(function(){
var url = $(this).attr('url');
var query = $('.jssearch').find('input').serialize();
query += "&"+$('.jssearch').find('select').serialize();
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
query = query.replace(/^&/g,'');
if( url.indexOf('?')>0 ){
url += '&' + query;
}else{
url += '?' + query;
}
window.location.href = url;
});
//支持tab
showTab();
$('.jssubtab a').click(function() {
var that=$(this),index = that.index(),pan = that.closest('.jssubtab').siblings('.jssubpan');
that.siblings().removeClass('current');
that.addClass('current');
pan.removeClass('current').eq(index).addClass('current');
});
})
</script>
</block>