dever %!s(int64=6) %!d(string=hai) anos
pai
achega
454c3b88a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -53,7 +53,7 @@ class Wechat extends Core
 		if ($type == 1) {
 			$order = \WxPayApi::unifiedOrder($this->config, $input);
 			# 下单信息
-			$order['time'] = time();
+			$order['time'] = '' . time() . '';
 			$order['order_id'] = $order_id;
 			unset($order['mch_id']);
 			$this->updateOrderParam($order_id, $order);