修改微信转账配置

This commit is contained in:
邹景立 2021-03-17 12:15:11 +08:00
parent 31db814094
commit f66e644583
3 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ class UserTransfer extends Controller
private $table = 'DataUserTransfer'; private $table = 'DataUserTransfer';
/** /**
* 提现配置配置 * 提现规则配置
* @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException * @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
@ -36,12 +36,12 @@ class UserTransfer extends Controller
} }
/** /**
* 微信提现配置 * 微信转账配置
* @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException * @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
*/ */
public function transfer() public function payment()
{ {
$this->skey = 'TransferWxpay'; $this->skey = 'TransferWxpay';
$this->title = '微信提现配置'; $this->title = '微信提现配置';

View File

@ -1,14 +1,14 @@
{extend name="../../admin/view/main"} {extend name="../../admin/view/main"}
{block name="button"} {block name="button"}
<!--{if auth('transfer')}-->
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('transfer')}">微信商户配置</a>
<!--{/if}-->
<!--{if auth('config')}--> <!--{if auth('config')}-->
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('config')}">提现规则配置</a> <a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('config')}">提现规则配置</a>
<!--{/if}--> <!--{/if}-->
<!--{if auth('payment')}-->
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('payment')}">微信转账配置</a>
<!--{/if}-->
<!--{if auth('sync')}--> <!--{if auth('sync')}-->
<a class="layui-btn layui-btn-sm layui-btn-primary" data-queue="{:url('sync')}">后台打款服务</a> <a class="layui-btn layui-btn-sm layui-btn-primary" data-queue="{:url('sync')}">后台打款服务</a>
<!--{/if}--> <!--{/if}-->

View File

@ -13,7 +13,7 @@
<input type='radio' name="wechat_type" value="{$k}" title="{$v}"> <input type='radio' name="wechat_type" value="{$k}" title="{$v}">
{/if}{/foreach} {/if}{/foreach}
</div> </div>
<span class="help-block">请选择公众号类型,以决定用户 OPENID 字段,一定要保证与接口对应</span> <span class="help-block">请选择正确的转账通道,以决定用户 OPENID 字段,兼容模式会自动选择通道</span>
</div> </div>
<label class="layui-form-item block relative"> <label class="layui-form-item block relative">