新增打款配置1

master
chenzhi 5 years ago
parent 8657b7371f
commit 748ec401f3

@ -144,6 +144,21 @@ class ToolController extends ThinkController {
$this->assign($tool[$key]['name']."_data",$tool[$key]);
}
}
/**
* 打款设置
*/
public function transfer_set()
{
$this->BaseConfig("transfer_set");
$this->meta_title = '打款设置';
$this->display();
}
public function saveTransferSet()
{
}
/**
*短信设置
*/

@ -0,0 +1,87 @@
<extend name="Public/base"/>
<block name="body">
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">{$meta_title}</h3>
<p class="description_text"></p>
</div>
<div class="tab-wrap">
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab1" class="tab-pane in tab1">
<form action="{:U('saveTool')}" method="post" class="form-horizontal OSS 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[user_id]" type="text" value="{$transfer_set['user_id']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">打款账号</td>
<td class="r table_radio">
<input name="config[user_num]" type="text" value="{$transfer_set['user_num']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">打款验证手机号</td>
<td class="r table_radio">
<input name="config[phone]" type="text" value="{$transfer_set['phone']}" class="">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">打款验证手机号</td>
<td class="r table_radio">
<div>4564564646</div>
</td>
</tr>
<tr>
<td class="l noticeinfo">支付类型</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="config[type]" value="1" <eq name="transfer_set['type']" value="1">checked="checked"</eq>> 支付宝</label>
</label></span>
<span class="notice-text">暂只支持支付宝</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="transfer_set">
</form>
<div class="form-item cf">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="OSS">
保存
</button>
</div>
</div>
</div>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="{$m_url}">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript">
//导航高亮
highlight_subnav("{:U('Tool/transfer_set')}");
$(function(){
//支持tab
showTab();
})
</script>
</block>

@ -1748,4 +1748,7 @@ ALTER TABLE `sj_game_user`.`sj_user`
ADD COLUMN `platform_account` varchar(60) NULL COMMENT '游戏渠道玩家账号' AFTER `age_type`;
ALTER TABLE `tab_deposit`
ADD COLUMN `old_change_promote_id` int(11) NULL DEFAULT 0 COMMENT '修改配置前渠道' ,
ADD COLUMN `old_change_promote_account` varchar(30) NULL COMMENT '修改配置前渠道账号' ;
ADD COLUMN `old_change_promote_account` varchar(30) NULL COMMENT '修改配置前渠道账号' ;
--
INSERT INTO `tab_tool` (`name`,`title`, `config`,`type`, `status`, `create_time`) VALUES ('transfer_set', '支付宝打款设置','{"user_id":"","user_num":"","phone":"","type":"1","typestr":"支付宝"}', '1', '1','1589270284');
Loading…
Cancel
Save