From b9ef6ab5ff50a9f9bd14c134ed533424a5a21dc3 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 18 Sep 2018 17:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/View/Default/Payment/SaveInfo.html | 15 +++++++++++++-- .../Application/Library/Payment/Alipay.class.php | 10 ++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) 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',