| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- @extends('layouts.base')
- @section('title', '支付设置')
- @section('content')
- <div class="w1200 m0a">
- <div class="rightlist">
- @include('Yunshop\FacePayment::admin.tabs')
- <!-- 新增加右侧顶部三级菜单结束 -->
- <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" >
- <div class="panel panel-default">
- <div class='panel-heading'>
- 基础设置
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">人脸支付开关</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type='radio' name='set[switch]' value='1' @if ($set['switch'] == 1) checked @endif/> 开启
- </label>
- <label class='radio-inline'>
- <input type='radio' name='set[switch]' value='0' @if ($set['switch'] == 0 || !isset($set['switch'])) checked @endif /> 关闭
- </label>
- </div>
- </div>
- <div class='panel-heading'>
- 支付方式
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付方式</label>
- <div class="col-sm-9 col-xs-12">
- <label class='checkbox-inline'>
- <input type="checkbox" name="set[method][weixin]"
- @if($set['method']['weixin']) checked @endif
- value="1"/>微信
- </label>
- <label class='checkbox-inline'>
- <input type="checkbox" name="set[method][alipay]"
- @if($set['method']['alipay']) checked @endif
- value="1"/>支付宝
- </label>
- <label class='checkbox-inline'>
- <input type="checkbox" name="set[method][cash]"
- @if($set['method']['cash']) checked @endif
- value="1"/>现金
- </label>
- <label class='checkbox-inline'>
- <input type="checkbox" name="set[method][aggregate]"
- @if($set['method']['aggregate']) checked @endif
- value="1"/>聚合支付
- </label>
- </div>
- </div>
- <div class='panel-heading'>
- 支付通道
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信通道</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[passage][weixin]"
- @if(empty($set['passage']['weixin']) || $set['passage']['weixin'] == \app\common\services\PayFactory::WECHAT_SCAN_PAY) checked @endif
- value="{{ \app\common\services\PayFactory::WECHAT_SCAN_PAY }}"/>微信官方
- </label>
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][weixin]"--}}
- {{--@if(empty($set['passage']['weixin']) || $set['passage']['weixin'] == \app\common\services\PayFactory::STORE_AGGREGATE_WECHAT) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::STORE_AGGREGATE_WECHAT }}"/>微信聚合支付--}}
- {{--</label>--}}
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][weixin]"--}}
- {{--@if($set['passage']['weixin'] == \app\common\services\PayFactory::PAY_WECHAT_SCAN_HJ) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::PAY_WECHAT_SCAN_HJ }}"/>汇聚--}}
- {{--</label>--}}
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][weixin]"--}}
- {{--@if($set['passage']['weixin'] == \app\common\services\PayFactory::YOP_WECHAT_SCAN) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::YOP_WECHAT_SCAN }}"/>易宝--}}
- {{--</label>--}}
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信人脸通道</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[passage][weixin_face]"
- @if(empty($set['passage']['weixin_face']) || $set['passage']['weixin_face'] == \app\common\services\PayFactory::WECHAT_FACE_PAY) checked @endif
- value="{{ \app\common\services\PayFactory::WECHAT_FACE_PAY }}"/>微信官方
- </label>
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][weixin_face]"--}}
- {{--@if($set['passage']['weixin_face'] == \app\common\services\PayFactory::PAY_WECHAT_FACE_HJ) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::PAY_WECHAT_FACE_HJ }}"/>汇聚--}}
- {{--</label>--}}
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][weixin_face]"--}}
- {{--@if($set['passage']['weixin_face'] == \app\common\services\PayFactory::YOP_WECHAT_SCAN) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::YOP_WECHAT_SCAN }}"/>易宝--}}
- {{--</label>--}}
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝通道</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[passage][alipay]"
- @if(empty($set['passage']['alipay']) || $set['passage']['alipay'] == \app\common\services\PayFactory::ALIPAY_SCAN_PAY) checked @endif
- value="{{ \app\common\services\PayFactory::ALIPAY_SCAN_PAY }}"/>支付宝官方
- </label>
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][alipay_aggregate]"--}}
- {{--@if(empty($set['passage']['alipay_aggregate']) || $set['passage']['alipay_aggregate'] == \app\common\services\PayFactory::STORE_AGGREGATE_ALIPAY) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::STORE_AGGREGATE_ALIPAY }}"/>支付宝聚合支付--}}
- {{--</label>--}}
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][alipay]"--}}
- {{--@if($set['passage']['alipay'] == \app\common\services\PayFactory::PAY_ALIPAY_SCAN_HJ) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::PAY_ALIPAY_SCAN_HJ }}"/>汇聚--}}
- {{--</label>--}}
- {{--<label class='radio-inline'>--}}
- {{--<input type="radio" name="set[passage][alipay]"--}}
- {{--@if($set['passage']['alipay'] == \app\common\services\PayFactory::YOP_ALIPAY_SCAN) checked @endif--}}
- {{--value="{{ \app\common\services\PayFactory::YOP_ALIPAY_SCAN }}"/>易宝--}}
- {{--</label>--}}
- </div>
- </div>
- <div class='panel-heading'>
- 支付按钮(总开关)
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信(服务商)</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[button][wechat]"
- @if(empty($set['button']['wechat']) || $set['button']['wechat'] == 0) checked @endif
- value="0"/>开启
- </label>
- <label class='radio-inline'>
- <input type="radio" name="set[button][wechat]"
- @if($set['button']['wechat'] == 1) checked @endif
- value="1"/>关闭
- </label>
- </div>
- </div>
- <div class="form-group">
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝(服务商)</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[button][alipay]"
- @if(empty($set['button']['alipay']) || $set['button']['alipay'] == 0) checked @endif
- value="0"/>开启
- </label>
- <label class='radio-inline'>
- <input type="radio" name="set[button][alipay]"
- @if($set['button']['alipay'] == 1) checked @endif
- value="1"/>关闭
- </label>
- </div>
- </div>
- </div>
- <div class='panel-heading'>
- 支付按钮(平台独立开关)
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信(服务商)</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[shop_button][wechat]"
- @if(empty($set['shop_button']['wechat']) || $set['shop_button']['wechat'] == 0) checked @endif
- value="0"/>开启
- </label>
- <label class='radio-inline'>
- <input type="radio" name="set[shop_button][wechat]"
- @if($set['shop_button']['wechat'] == 1) checked @endif
- value="1"/>关闭
- </label>
- </div>
- </div>
- <div class="form-group">
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝(服务商)</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="set[shop_button][alipay]"
- @if(empty($set['shop_button']['alipay']) || $set['shop_button']['alipay'] == 0) checked @endif
- value="0"/>开启
- </label>
- <label class='radio-inline'>
- <input type="radio" name="set[shop_button][alipay]"
- @if($set['shop_button']['alipay'] == 1) checked @endif
- value="1"/>关闭
- </label>
- </div>
- </div>
- </div>
- <div class='panel-heading'>
- 微信支付设置(官方)
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">子商户设置</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="wechat[is_independent]"
- @if(empty($wechat['is_independent']) || $wechat['is_independent'] == 0) checked @endif
- value="0"/>统一设置
- </label>
- <label class='radio-inline'>
- <input type="radio" name="wechat[is_independent]"
- @if($wechat['is_independent'] == 1) checked @endif
- value="1"/>独立设置
- </label>
- <span class='help-block'>统一设置需要设置子商户信息,独立设置子商户信息在每个门店单独设置</span>
- </div>
- </div>
- <!-- weixin支付设置 _start -->
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">服务商的APPID<br>(appId)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[appid]" value="{{ $wechat['appid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">服务商的小程序APPID<br>(appId)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[mini_appid]" value="{{ $wechat['mini_appid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信支付商户号<br>(mch_id)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[mchid]" value="{{ $wechat['mchid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">商户全称<br></label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[mch_name]" value="{{ $wechat['mch_name'] }}" autocomplete="off">
- <span class='help-block'>如果开启分账则必填,请确定全称填写正确</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">子商户公众账号ID<br>(sub_appid)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[sub_appid]" value="{{ $wechat['sub_appid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">子商户小程序账号ID<br>(sub_appid)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[sub_mini_appid]" value="{{ $wechat['sub_mini_appid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信支付子商户号<br>(sub_mch_id)</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="wechat[sub_mchid]" value="{{ $wechat['sub_mchid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信支付密钥<br>(apiSecret)</label>
- <div class="col-sm-9 col-xs-12">
- <input @if($wechat['apisecret']) type="hidden" @else type="text" @endif id="wechatDev" class="form-control" name="wechat[apisecret]" value="{{ $wechat['apisecret'] }}" autocomplete="off">
- @if($wechat['apisecret'])
- <button type="button" class="btn btn-info wechatSecret">已设置</button>
- @endif
- </div>
- </div>
- @if(!empty($wechat['apisecret']))
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
- <div class="col-sm-9 col-xs-12">
- <input type="button" name="rsa_wechat_key" class="btn btn-success wechatSecret" value="重新设置公私钥" />
- </div>
- </div>
- @endif
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启分账<br></label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type='radio' name='wechat[profit_sharing]' value='1' @if ($wechat['profit_sharing'] == 1) checked @endif/> 开启
- </label>
- <label class='radio-inline'>
- <input type='radio' name='wechat[profit_sharing]' value='0' @if ($wechat['profit_sharing'] == 0 || !isset($wechat['profit_sharing'])) checked @endif /> 关闭
- </label>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启H5支付<br></label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type='radio' name='wechat[wechat_web_state]' value='1' @if ($wechat['wechat_web_state'] == 1) checked @endif/> 开启
- </label>
- <label class='radio-inline'>
- <input type='radio' name='wechat[wechat_web_state]' value='0' @if (empty($wechat['wechat_web_state'])) checked @endif /> 关闭
- </label>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">CERT证书文件</label>
- <div class="col-sm-9 col-xs-12">
- <input type="hidden" name="wechat[weixin_cert]" value="{{ $wechat['weixin_cert'] }}"/>
- <input type="file" name="weixin_cert_file" class="form-control" />
- <span class="help-block">
- @if (!empty($wechat['weixin_cert']))
- <span class='label label-success'>已上传</span>
- @else
- <span class='label label-danger'>未上传</span>
- @endif
- 下载证书 cert.zip 中的 appapiclient_cert.pem 文件</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">KEY密钥文件</label>
- <div class="col-sm-9 col-xs-12">
- <input type="hidden" name="wechat[weixin_key]" value="{{ $wechat['weixin_key'] }}"/>
- <input type="file" name="weixin_key_file" class="form-control" />
- <span class="help-block">
- @if (!empty($wechat['weixin_key']))
- <span class='label label-success'>已上传</span>
- @else
- <span class='label label-danger'>未上传</span>
- @endif
- 下载证书 cert.zip 中的 appapiclient_key.pem 文件
- </span>
- </div>
- </div>
- <!-- aliset支付设置 _start -->
- <div class='panel-heading'>
- 支付宝支付配置(官方)
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">应用类型</label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type="radio" name="alipay[app_type]"
- @if(empty($alipay['app_type']) || $alipay['app_type'] == 0) checked @endif
- value="0"/>第三方应用
- </label>
- <label class='radio-inline'>
- <input type="radio" name="alipay[app_type]"
- @if($alipay['app_type'] == 1) checked @endif
- value="1"/>APP应用
- </label>
- <span class='help-block'>第三方应用需要独立授权</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启分账<br></label>
- <div class="col-sm-9 col-xs-12">
- <label class='radio-inline'>
- <input type='radio' name='alipay[royalty]' value='1' @if ($alipay['royalty'] == 1) checked @endif/> 开启
- </label>
- <label class='radio-inline'>
- <input type='radio' name='alipay[royalty]' value='0' @if ($alipay['royalty'] == 0 || !isset($alipay['royalty'])) checked @endif /> 关闭
- </label>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">服务商全称<br></label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="alipay[name]" value="{{ $alipay['name'] }}" autocomplete="off">
- <span class='help-block'>如果开启分账则必填,请确定全称填写正确</span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝角色PID</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="alipay[pid]" value="{{ $alipay['pid'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝应用Appid</label>
- <div class="col-sm-9 col-xs-12">
- <input type="text" class="form-control" name="alipay[app_id]" value="{{ $alipay['app_id'] }}" autocomplete="off">
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝公钥</label>
- <div class="col-sm-9 col-xs-12">
- @if($alipay['alipay_public_key'])
- <button type="button" class="btn btn-info alipayPublic" disabled>已设置</button>
- @endif
- <textarea class="form-control" id="rsa_public_key" name="alipay[alipay_public_key]" @if($alipay['alipay_public_key']) style="visibility:hidden" @endif>{{ $alipay['alipay_public_key'] }}</textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label">商户私钥</label>
- <div class="col-sm-9 col-xs-12">
- @if($alipay['merchant_private_key'])
- <button type="button" class="btn btn-info alipayPublic" disabled>已设置</button>
- @endif
- <textarea class="form-control" id="rsa_private_key" name="alipay[merchant_private_key]" @if($alipay['merchant_private_key']) style="visibility:hidden" @endif>{{ $alipay['merchant_private_key'] }}</textarea>
- </div>
- </div>
- @if(!empty($alipay['merchant_private_key']) || !empty($alipay['alipay_public_key']))
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
- <div class="col-sm-9 col-xs-12">
- <input type="button" name="rsa_alipay_key" class="btn btn-success alipayPublic" value="重新设置公私钥" />
- </div>
- </div>
- @endif
- {{--<div class="form-group">--}}
- {{--<label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝授权链接</label>--}}
- {{--<div class="col-sm-9 col-xs-12">--}}
- {{--@if($alipay['app_id'])--}}
- {{--<a href="{{$alipay['open_auth']}}" target="_blank">{{$alipay['open_auth']}}</a>--}}
- {{--@else--}}
- {{--未填写支付宝APPID--}}
- {{--@endif--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--<div class='panel-heading'>--}}
- {{--支付宝退款配置--}}
- {{--</div>--}}
- {{--<div class="form-group">--}}
- {{--<label class="col-xs-12 col-sm-3 col-md-2 control-label">加密方式</label>--}}
- {{--<div class="col-sm-9 col-xs-12">--}}
- {{--<label class='radio-inline'><input type='radio' name='set[refund_newaliset]' value='1' @if ($set['refund_newaliset'] == 1) checked @endif/> 2048</label>--}}
- {{--<label class='radio-inline'><input type='radio' name='set[refund_newaliset]' value='0' @if (empty($set['refund_newaliset'])) checked @endif /> 1024</label>--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--<div class="form-group">--}}
- {{--<label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝公钥</label>--}}
- {{--<div class="col-sm-9 col-xs-12">--}}
- {{--<textarea class="form-control" name="set[refund_aliset_sign_public]">{{ @$set['refund_aliset_sign_public'] }}</textarea>--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--<div class="form-group">--}}
- {{--<label class="col-xs-12 col-sm-3 col-md-2 control-label">商户私钥</label>--}}
- {{--<div class="col-sm-9 col-xs-12">--}}
- {{--<textarea class="form-control" name="set[refund_aliset_sign_private]">{{ @$set['refund_aliset_sign_private'] }}</textarea>--}}
- {{--</div>--}}
- {{--</div>--}}
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
- <div class="col-sm-9">
- <input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1"
- onclick='return formcheck()'/>
- </div>
- </div>
- <script language="javascript">
- $(":button[name='rsa_alipay_key']").click(function () {
- $('#rsa_private_key').val('');
- $('#rsa_private_key').css("visibility","visible");
- $('#rsa_public_key').val('');
- $('#rsa_public_key').css("visibility","visible");
- $(".alipayPublic").hide();
- })
- $(":button[name='rsa_wechat_key']").click(function () {
- $("#wechatSecret").css("display","none");//隐藏
- $("#wechatDev").attr("type","text").val('');//显示
- $(".wechatSecret").hide();
- })
- $(function () {
- $(":radio[name='set[weixin]']").click(function () {
- if ($(this).val() == 1) {
- $("#certs").show();
- }
- else {
- $("#certs").hide();
- }
- })
- $(":radio[name='set[aliset]']").click(function () {
- if ($(this).val() == 1) {
- $("#aliset").show();
- }
- else {
- $("#aliset").hide();
- }
- })
- $(":radio[name='set[weixin_oauth]']").click(function () {
- if ($(this).val() == 1) {
- $("#oauth").show();
- }
- else {
- $("#oauth").hide();
- }
- })
- $(":input[name='set[weixin_appid]']").bind('input propertychange', function() {
- $(":input[name='set[weixin_appid]']").val($(this).val());
- })
- $(":input[name='set[weixin_secret]']").bind('input propertychange', function() {
- $(":input[name='set[weixin_secret]']").val($(this).val());
- })
- })
- </script>
- </form>
- </div>
- </div>
- @endsection
|