zxhxx %!s(int64=3) %!d(string=hai) anos
pai
achega
fb5b91d822
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/api/controller/Level.php

+ 1 - 0
application/api/controller/Level.php

@@ -32,6 +32,7 @@ class Level extends Api
         unset($where1['from']);
         $where1['order_id'] = OrderLevel::getNewOrderId();
         $where1['createtime'] = time();
+        @file_put_contents("level.txt",json_encode($where1));
         $order = OrderLevel::order_create($where1);
         if(!$order) $this->error(OrderLevel::getErrorInfo());
         $orderId = $order['order_id'];