dever 6 vuotta sitten
vanhempi
commit
e910f153f6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      lib/Wechat.php

+ 1 - 0
lib/Wechat.php

@@ -54,6 +54,7 @@ class Wechat extends Core
 			$order = \WxPayApi::unifiedOrder($this->config, $input);
 			# 下单信息
 			$this->updateOrderParam($order_id, $order);
+			$order['time'] = time();
 			return array($order_id, $order);
 		} else {
 			# 下单信息