diff --git a/service/Application/Admin/View/Default/Payment/SaveInfo.html b/service/Application/Admin/View/Default/Payment/SaveInfo.html index 73f65cb6a..83097418e 100755 --- a/service/Application/Admin/View/Default/Payment/SaveInfo.html +++ b/service/Application/Admin/View/Default/Payment/SaveInfo.html @@ -59,9 +59,10 @@ {{$data['config'][$element['name']]}}{{$element.default}}" + value="{{$data['config'][$element['name']]}}{{$element.default}}" placeholder="{{$element.placeholder}}" data-validation-message="{{$element.message}}" required @@ -71,7 +72,7 @@ + + + diff --git a/service/Application/Library/Payment/Alipay.class.php b/service/Application/Library/Payment/Alipay.class.php index ef4334a4a..0e9cd8622 100644 --- a/service/Application/Library/Payment/Alipay.class.php +++ b/service/Application/Library/Payment/Alipay.class.php @@ -87,6 +87,16 @@ class Alipay 'is_required' => 0, // 是否需要强制填写/选择 'message' => '请填写测试输入框不需要验证', // 错误提示(is_required=1方可有效) ], + [ + 'element' => 'textarea', + 'default' => '', + 'name' => 'rsa_private', + 'placeholder' => 'RSA证书', + 'title' => 'RSA证书', + 'minlength' => 10, + //'maxlength' => 300, // 不填则不限 + 'rows' => 6, + ], [ 'element' => 'input', 'type' => 'checkbox',