From dc638f9ec1a496d73242fb471011dac984f82e87 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 21 Aug 2019 21:06:02 +0800 Subject: [PATCH] 1 --- third_party/phpcommon | 2 +- webapp/controller/PayController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/phpcommon b/third_party/phpcommon index 7ecf558..1e3bb4d 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit 7ecf558df93a2656631782e76c6d35697da72808 +Subproject commit 1e3bb4df855f6d11df75545d10b0c2aacea34a06 diff --git a/webapp/controller/PayController.class.php b/webapp/controller/PayController.class.php index 7ea2e47..eb762fb 100644 --- a/webapp/controller/PayController.class.php +++ b/webapp/controller/PayController.class.php @@ -43,7 +43,7 @@ class PayController { } private function _reaEncode($str) { - $prikey = phpcommon\ReadPriKey(self::PRI_KEY); + $prikey = phpcommon\readPriKey(self::PRI_KEY); return openssl_sign($str, $sign, $prikey, OPENSSL_ALGO_SHA1) ? base64_encode($sign) : false; }