vali 6 years ago
parent
commit
28ef150ba3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      datainf/logic/HttpServerRedisToSql.php

+ 1 - 0
datainf/logic/HttpServerRedisToSql.php

@@ -111,6 +111,7 @@ class HttpServerRedisToSql
                 $sqlstr = implode(";", $batchsql);
                 $erowcount = 0;
                 try {
+                    echo " SQL===> " . date('Y-m-d H:i:s') . '  ' . implode("\n", $batchsql);
                     $erowcount = $pdo->exec($sqlstr);
                 } catch (\Exception $e) {
                     echo "发生异常:" . $e->getCode() . ' ---- ' . print_r($e->getMessage(), true) . "\n";