From adb53a28409aa498f5222318feaac98170df3879 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Mon, 25 Sep 2023 18:25:10 +0800 Subject: [PATCH] =?UTF-8?q?debug=20=E5=8F=91=E9=80=81=E7=9F=AD=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/contract/ContractLogic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/logic/contract/ContractLogic.php b/app/common/logic/contract/ContractLogic.php index ab76008a9..7f2958682 100644 --- a/app/common/logic/contract/ContractLogic.php +++ b/app/common/logic/contract/ContractLogic.php @@ -23,6 +23,7 @@ use think\facade\Db; use app\api\logic\SmsLogic; use app\common\logic\CompanyLogic; use app\common\logic\UserLogic; +use think\facade\Log; /** * Contract逻辑 @@ -297,6 +298,7 @@ class ContractLogic extends BaseLogic public static function postsms($params) { $result = self::detail($params); + Log::info(['发送合同短信', $result]); if ($result && $result['file'] != '') { //发送短信 $data = [ @@ -352,6 +354,7 @@ class ContractLogic extends BaseLogic 'code' => 'api/Hetong/url?id=' . $find['id'].'&type='.$v['type'], 'scene' => 'WQ' ]; + Log::info(['发送合同短信-消息体', $sms]); $result = SmsLogic::contractUrl($sms); if ($result != true) { return self::setError(SmsLogic::getError());