diff --git a/app/Helper/Baofu/Baofu.php b/app/Helper/Baofu/Baofu.php index 9a2e35f..ed407d4 100644 --- a/app/Helper/Baofu/Baofu.php +++ b/app/Helper/Baofu/Baofu.php @@ -108,7 +108,7 @@ class Baofu 'goodsName' => $params['goodsName'], 'amount' => $params['amount'], 'outOrderNo' => $params['outOrderNo'], - 'agreementNo' => $params['agreementNo'], + 'agreementNo' => Rsa::encryptByCERFile($params['agreementNo'], $this->getCerFilePath()), 'notifyUrl' => NotifyList::getNotifyUrl('payment', $token), 'expireDate' => $params['expireDate'], 'validDate' => $params['validDate'],