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());