<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"/www/wwwroot/ww.fssy.cc/public/../app/index/view/game/game_view/dy_db.html";i:1610128692;}*/ ?>
<div style="padding: 25px 25px 15px 25px;" id="demoUrlDialog">
<style>
.pi-label{
	margin-left: 10px;
	margin-bottom:5px;
}
.pi-input-block {
	position: relative;
    margin-left: 10px;
    min-height: 36px;
}
.pi-label small{
	color: brown;margin-left:5px;
}
</style>
<div id="modelUserForm" lay-filter="modelUserForm" class="layui-form pi-model-form">
    <input name="land_id" type="hidden" value="<?php echo $land_id; ?>"/>
    <input name="game_id" type="hidden" value="<?php echo $game_id; ?>"/>
    <div class="layui-form-item">
		<div class="pi-label">备注<small>账户备注,便于商户自行区分账户</small></div>
		<div class="pi-input-block">
			<input name="username" value="<?php echo $username; ?>" lay-verify="required" placeholder="请输入备注信息方便查询" class="layui-input" lay-verType="tips" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="pi-label">日限额 <small>为0则不限制</small></div>
		<div class="pi-input-block">
			<input name="r_money" lay-verify="required" value="<?php echo $r_money; ?>" placeholder="请输入日限额" class="layui-input" lay-verType="tips" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="pi-label">总限额 <small>为0则不限制</small></div>
		<div class="pi-input-block">
			<input name="z_money" lay-verify="required" value="<?php echo $z_money; ?>" placeholder="请输入总限额" class="layui-input" lay-verType="tips" required/>
		</div>
	</div>
	
	<div class="layui-form-item">
		<div class="pi-label">抖音号 <small>请输入抖音号（<a href='<?php echo url("index/news"); ?>?id=21' target="_blank">抖音号查看方法</a></small></div>
		<div class="pi-input-block">
			<input name="dy_ck" lay-verify="required" value="<?php echo (isset($json['dy_ck']) && ($json['dy_ck'] !== '')?$json['dy_ck']:''); ?>" placeholder="请输入抖音号" class="layui-input" lay-verType="tips" required/>
		</div>
	</div>
	
	<div class="layui-form-item">
		<div class="pi-label">账户CK参数 <small>请填写抖音账户CK</small></div>
		<div class="pi-input-block">
		     <textarea name="d_ck" placeholder="账户CK参数" class="layui-textarea" lay-vertype="tips"><?php echo (isset($json['d_ck']) && ($json['d_ck'] !== '')?$json['d_ck']:''); ?></textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="pi-label">支付方式 <small>选择抖音的支付方式（支付宝或微信）</small></div>
		<div class="pi-input-block">
		                    <select name="dy_type" lay-verType="tips" lay-verify="required" required>
                                <option value="0" <?php if(empty($json['dy_type']) != true): if($json['dy_type'] == '0'): ?> selected="" <?php endif; endif; ?>>微信</option>
                                <option value="1" <?php if(empty($json['dy_type']) != true): if($json['dy_type'] == '1'): ?> selected="" <?php endif; endif; ?>>支付宝</option>
                            </select>
		</div>
	</div>
		<div class="layui-form-item">
		<div class="pi-label">支付模式 <small>选择抖音的支付模式（H5或扫码）</small></div>
		<div class="pi-input-block">
		                    <select name="dy_ms" lay-verType="tips" lay-verify="required" required>
                                <option value="0" <?php if(empty($json['dy_ms']) != true): if($json['dy_ms'] == '0'): ?> selected="" <?php endif; endif; ?>>H5</option>
                                <option value="1" <?php if(empty($json['dy_ms']) != true): if($json['dy_ms'] == '1'): ?> selected="" <?php endif; endif; ?>>扫码</option>
                            </select>
		</div>
	</div>
		<div class="layui-form-item">
		<div class="pi-label">回调方式 <small>异步通知的回调方式</small></div>
		<div class="pi-input-block">
		                    <select name="method" lay-verType="tips" lay-verify="required" required>
                                <option value="post" <?php if($method == 'post'): ?> selected="" <?php endif; ?>>POST</option>
                                <option value="get"  <?php if($method == 'get'): ?> selected="" <?php endif; ?>>GET</option>
                            </select>
		</div>
	</div>
	
	
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="modelSubmitUser" lay-submit>保存</button>
    </div>
</div>
</div>


</script>