zxhxx %!s(int64=3) %!d(string=hai) anos
pai
achega
c55efbb441
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/common/model/OrderLevel.php

+ 1 - 0
application/common/model/OrderLevel.php

@@ -60,6 +60,7 @@ class OrderLevel extends BaseModel
             list($msec, $sec) = explode(' ', microtime());
             $msectime = number_format((floatval($msec) + floatval($sec)) * 1000, 0, '', '');
             $orderId = 'wx' . $msectime . mt_rand(10000, 99999);
+            @file_put_contents("NewOrder.txt",$orderId);
         } while (self::where(['order_id' => $orderId])->find());
         return $orderId;
     }