From 8906bae363e4af8267af0a9730c8849c146ae136 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Thu, 14 Nov 2019 18:05:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/WapPayController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/WapPayController.class.php b/Application/Sdk/Controller/WapPayController.class.php index 1c278550..fc5f2048 100644 --- a/Application/Sdk/Controller/WapPayController.class.php +++ b/Application/Sdk/Controller/WapPayController.class.php @@ -245,7 +245,11 @@ class WapPayController extends BaseController{ if ($rsign['respCode'] == 'success') { // 认证成功发送短信 $this->success('签约短信发送成功', '', true); } else { - $this->error($rsign['respMessage'], '', true); + if (strlen($rsign['respMessage']) > 100) { + $this->error('填写信息有误,请核对!', '', true); + } else { + $this->error($rsign['respMessage'], '', true); + } } // var_dump($rsign); exit();