支付类型添加易宝支付

master
zhanglingsheng 5 years ago
parent 601151718f
commit 31466db00d

@ -214,7 +214,7 @@ class ToolController extends ThinkController {
*/
public function payset($value='')
{
$str = "alipay,weixin,wei_xin,wei_xin_app,jubaobar,weixin_gf,jft,jft_wap,goldpig,ptb_pay,bind_pay,sqpay,heepay";
$str = "alipay,weixin,wei_xin,wei_xin_app,jubaobar,weixin_gf,jft,jft_wap,goldpig,ptb_pay,bind_pay,sqpay,heepay,yeepay";
$this->BaseConfig($str);
$this->meta_title = '支付设置';

@ -29,6 +29,7 @@
<li data-tab="tab10"><a href="javascript:void(0);" >平台币支付</a></li>
<li data-tab="tab11"><a href="javascript:void(0);" >绑币支付</a></li>
<li data-tab="tab14"><a href="javascript:void(0);" >易宝支付</a></li>
<li data-tab="tab12"><a href="javascript:void(0);" >双乾支付</a></li>
<li data-tab="tab13"><a href="javascript:void(0);" >威富通支付</a></li>
</ul>
@ -1355,6 +1356,130 @@
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab14" class="tab-pane tab14">
<form action="{:U('saveTool')}" method="post" class="form-horizontal yeepay form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">商户号</td>
<td class="r table_radio">
<input name="config[partner]" type="text" value="{$yeepay['partner']}" class="">
<span class="notice-text">双乾商户号</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">双乾密钥key</td>
<td class="r table_radio">
<input name="config[key]" type="text" value="{$yeepay['key']}" class="">
<span class="notice-text">双乾秘钥</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">支付方式:</td>
<td class="r table_radio">
<span class="form_checkbox">
<label>
<input name="config[shortcut]" type="checkbox" value="1" <eq name="yeepay['shortcut']" value="1">checked="checked"</eq> class="">
</label>
</span>
<span class="notice-text" style="margin-left:5px;margin-right: 15px;width: 70px;">快捷支付</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">日支付限量</td>
<td class="r table_radio">
<input name="config[day_pay_limit]" type="text" value="{$yeepay['day_pay_limit']}" class="" placeholder='请输入额度' oninput="this.value=this.value.replace(/[^0-9]+|^0|\d{9}/,'');">
<span class="notice-text">当额度达到限制额度时,隐藏支付方式</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">月支付限量</td>
<td class="r table_radio">
<input name="config[month_pay_limit]" type="text" value="{$yeepay['month_pay_limit']}" class="" placeholder='请输入额度' oninput="this.value=this.value.replace(/[^0-9]+|^0|\d{9}/,'');">
<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="yeepay['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="yeepay['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">开启状态</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">渠道费率</td>
<td class="r">
<input name="config[channel_rate]" type="text" value="{$yeepay['channel_rate']}" class="" placeholder="设置支付渠道的的费用比例">
<span class="notice-text">%</span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="yeepay">
<input type="submit" id="submit" value="确认保存" target-form="yeepay" class="submit_btn form_btn ajax-post mlspacing">
</form>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">

@ -1353,4 +1353,7 @@ ALTER TABLE tab_promote
ADD COLUMN `group_remark` varchar(50) NOT NULL DEFAULT '' COMMENT '部门/小组';
--2020-02-20 --
ALTER TABLE `tab_statement`
ADD COLUMN `verify_status` tinyint(2) NULL DEFAULT 0 COMMENT '审核状态 0:未审核 1:审核通过 2:审核拒绝' AFTER `statement_info`;
ADD COLUMN `verify_status` tinyint(2) NULL DEFAULT 0 COMMENT '审核状态 0:未审核 1:审核通过 2:审核拒绝' AFTER `statement_info`;
-- 支付类型添加易宝支付
INSERT INTO `platform`.`tab_tool`( `name`, `title`, `config`, `template`, `type`, `status`, `create_time`) VALUES ('yeepay', '易宝支付', '', NULL, 1, 1, NULL);

Loading…
Cancel
Save