浏览代码

加调试日志

zhouzhijian 8 年之前
父节点
当前提交
db72c19998
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/framework/libraries/sms.php

+ 1 - 0
core/framework/libraries/sms.php

@@ -37,6 +37,7 @@ class Sms
 
     private function send_msg($mobile, $datas, $type)
     {
+        Log::record("SMS send:{$mobile} ".json_encode($datas), Log::DEBUG);
         $folder = 'yuntx';
         $plugin = str_replace('\\', '', str_replace('/', '', str_replace('.', '', $folder)));
         if (!empty($plugin)) {